mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
3e813e71ec
commit
9107b6dba8
3 changed files with 978 additions and 976 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue