mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-11 21:40:02 -04:00
chore: prettier
This commit is contained in:
parent
f23f415183
commit
73357d0172
2 changed files with 4 additions and 12 deletions
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue