Vanessa 2023-02-11 23:42:51 +08:00
parent 3e813e71ec
commit 9107b6dba8
3 changed files with 978 additions and 976 deletions

View File

@ -1,6 +1,5 @@
build build
dist dist
electron
node_modules node_modules
public public
src/asset/pdf src/asset/pdf

View File

@ -1,24 +1,25 @@
module.exports = { module.exports = {
root: true, root: true,
env: { node: true, browser: true, es6: true }, env: {node: true, browser: true, es6: true},
parser: "@typescript-eslint/parser", parser: "@typescript-eslint/parser",
plugins: [ plugins: [
"@typescript-eslint", "@typescript-eslint",
], ],
extends: [ extends: [
"eslint:recommended", "eslint:recommended",
"plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended",
], ],
rules: { rules: {
semi: [2, "always"], semi: [2, "always"],
quotes: [2, "double", {"avoidEscape": true}], quotes: [2, "double", {"avoidEscape": true}],
"no-prototype-builtins": "off", "no-async-promise-executor": "off",
"no-useless-escape": "off", "no-prototype-builtins": "off",
"no-irregular-whitespace": "off", "no-useless-escape": "off",
"@typescript-eslint/ban-ts-comment": "off", "no-irregular-whitespace": "off",
"@typescript-eslint/no-var-requires": "off", "@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/explicit-module-boundary-types": "off",
}, "@typescript-eslint/no-explicit-any": "off",
},
}; };

File diff suppressed because it is too large Load Diff