mod should unload itself to avoid being visible; other changes are syntactic
This commit is contained in:
41
package.json
41
package.json
@@ -10,13 +10,34 @@
|
||||
"@types/tampermonkey": "^5.0.3"
|
||||
},
|
||||
"license": "SEE LICENSE IN LICENSE.",
|
||||
"xo": {
|
||||
"env": [
|
||||
"browser",
|
||||
"node"
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
"extends": [
|
||||
"xo",
|
||||
"xo-typescript"
|
||||
],
|
||||
"globals": ["GM", "GM_info"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": { "project": ["./jsconfig.json"] },
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"globals": {"GM": true, "GM_info": true},
|
||||
"rules": {
|
||||
"@typescript-eslint/brace-style": "off",
|
||||
"@typescript-eslint/comma-dangle": ["error", "only-multiline"],
|
||||
"@typescript-eslint/consistent-type-definitions": "off",
|
||||
"@typescript-eslint/member-delimiter-style": "off",
|
||||
"@typescript-eslint/naming-convention": "off",
|
||||
"@typescript-eslint/no-confusing-void-expression": ["error", {
|
||||
"ignoreVoidOperator": true
|
||||
}],
|
||||
"@typescript-eslint/no-meaningless-void-operator": "off",
|
||||
"@typescript-eslint/padding-line-between-statements": "off",
|
||||
"@typescript-eslint/semi": "off",
|
||||
"@typescript-eslint/space-before-function-paren": "off",
|
||||
"@typescript-eslint/strict-boolean-expressions": ["error", {
|
||||
"allowString": false,
|
||||
"allowNumber": false,
|
||||
"allowNullableObject": false
|
||||
}],
|
||||
"array-element-newline": "off",
|
||||
"brace-style": "off",
|
||||
"camelcase": "off",
|
||||
@@ -44,6 +65,14 @@
|
||||
"unicorn/prefer-module": "off",
|
||||
"unicorn/prefer-top-level-await": "off",
|
||||
"fake/fuck-commas": "off"
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.d.ts"],
|
||||
"rules": {
|
||||
"no-unused-vars": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user