generated from siyuan-note/plugin-sample
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
25 lines (25 loc) · 839 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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-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",
},
};