chore: prettier

This commit is contained in:
Percs 2024-11-10 16:57:35 -06:00
parent f23f415183
commit 73357d0172
2 changed files with 4 additions and 12 deletions

View file

@ -21,7 +21,7 @@ export default [
files: ["**/*.ts"],
})),
{
ignores: ["dist", "rewriter"]
ignores: ["dist", "rewriter"],
},
{
files: ["**/*.ts"],
@ -36,7 +36,7 @@ export default [
rules: {
"no-await-in-loop": "warn",
"no-unused-labels": "warn",
"quotes": ["error", "double"],
quotes: ["error", "double"],
"getter-return": "error",
"newline-before-return": "error",
"no-multiple-empty-lines": "error",

View file

@ -1,16 +1,8 @@
import { SCRAMJETCLIENT } from "../../symbols";
import { ScramjetClient } from "../client";
import { nativeGetOwnPropertyDescriptor } from "../natives";
import {
unrewriteUrl,
htmlRules,
unrewriteHtml,
} from "../../shared";
import {
rewriteCss,
rewriteHtml,
rewriteJs,
} from "../../shared";
import { unrewriteUrl, htmlRules, unrewriteHtml } from "../../shared";
import { rewriteCss, rewriteHtml, rewriteJs } from "../../shared";
export default function (client: ScramjetClient, self: typeof window) {
const _nativeGetAttribute = self.Element.prototype.getAttribute;