mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 06:11:53 +08:00
This commit is contained in:
parent
3e813e71ec
commit
9107b6dba8
@ -1,6 +1,5 @@
|
|||||||
build
|
build
|
||||||
dist
|
dist
|
||||||
electron
|
|
||||||
node_modules
|
node_modules
|
||||||
public
|
public
|
||||||
src/asset/pdf
|
src/asset/pdf
|
||||||
|
@ -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",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
1908
app/electron/main.js
1908
app/electron/main.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user