mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 04:50:59 +08:00
This commit is contained in:
parent
3e813e71ec
commit
9107b6dba8
@ -1,6 +1,5 @@
|
||||
build
|
||||
dist
|
||||
electron
|
||||
node_modules
|
||||
public
|
||||
src/asset/pdf
|
||||
|
@ -1,24 +1,25 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: { node: true, browser: true, es6: true },
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: [
|
||||
"@typescript-eslint",
|
||||
],
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
],
|
||||
rules: {
|
||||
semi: [2, "always"],
|
||||
quotes: [2, "double", {"avoidEscape": true}],
|
||||
"no-prototype-builtins": "off",
|
||||
"no-useless-escape": "off",
|
||||
"no-irregular-whitespace": "off",
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-var-requires": "off",
|
||||
"@typescript-eslint/explicit-function-return-type": "off",
|
||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
},
|
||||
root: true,
|
||||
env: {node: true, browser: true, es6: true},
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: [
|
||||
"@typescript-eslint",
|
||||
],
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
],
|
||||
rules: {
|
||||
semi: [2, "always"],
|
||||
quotes: [2, "double", {"avoidEscape": true}],
|
||||
"no-async-promise-executor": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
"no-useless-escape": "off",
|
||||
"no-irregular-whitespace": "off",
|
||||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
"@typescript-eslint/no-var-requires": "off",
|
||||
"@typescript-eslint/explicit-function-return-type": "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