mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 07:20: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"],
|
files: ["**/*.ts"],
|
||||||
})),
|
})),
|
||||||
{
|
{
|
||||||
ignores: ["dist", "rewriter"]
|
ignores: ["dist", "rewriter"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ["**/*.ts"],
|
files: ["**/*.ts"],
|
||||||
|
@ -36,7 +36,7 @@ export default [
|
||||||
rules: {
|
rules: {
|
||||||
"no-await-in-loop": "warn",
|
"no-await-in-loop": "warn",
|
||||||
"no-unused-labels": "warn",
|
"no-unused-labels": "warn",
|
||||||
"quotes": ["error", "double"],
|
quotes: ["error", "double"],
|
||||||
"getter-return": "error",
|
"getter-return": "error",
|
||||||
"newline-before-return": "error",
|
"newline-before-return": "error",
|
||||||
"no-multiple-empty-lines": "error",
|
"no-multiple-empty-lines": "error",
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
import { SCRAMJETCLIENT } from "../../symbols";
|
import { SCRAMJETCLIENT } from "../../symbols";
|
||||||
import { ScramjetClient } from "../client";
|
import { ScramjetClient } from "../client";
|
||||||
import { nativeGetOwnPropertyDescriptor } from "../natives";
|
import { nativeGetOwnPropertyDescriptor } from "../natives";
|
||||||
import {
|
import { unrewriteUrl, htmlRules, unrewriteHtml } from "../../shared";
|
||||||
unrewriteUrl,
|
import { rewriteCss, rewriteHtml, rewriteJs } from "../../shared";
|
||||||
htmlRules,
|
|
||||||
unrewriteHtml,
|
|
||||||
} from "../../shared";
|
|
||||||
import {
|
|
||||||
rewriteCss,
|
|
||||||
rewriteHtml,
|
|
||||||
rewriteJs,
|
|
||||||
} from "../../shared";
|
|
||||||
|
|
||||||
export default function (client: ScramjetClient, self: typeof window) {
|
export default function (client: ScramjetClient, self: typeof window) {
|
||||||
const _nativeGetAttribute = self.Element.prototype.getAttribute;
|
const _nativeGetAttribute = self.Element.prototype.getAttribute;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue