forked from sakura-tel/milkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.81 KB
/
.eslintrc
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:node/recommended"
],
"rules": {
"vue/require-v-for-key": "off",
"vue/max-attributes-per-line": "off",
"vue/html-indent": "off",
"vue/html-self-closing": "off",
"vue/no-unused-vars": "off",
"vue/attributes-order": "off",
"vue/require-prop-types": "off",
"vue/require-default-prop": "off",
"vue/html-closing-bracket-spacing": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/no-v-html": "off",
"node/callback-return": "off",
"node/handle-callback-err": "error",
"node/no-callback-literal": "error",
"node/no-missing-import": "off",
"node/no-missing-require": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-sync": ["error", { "allowAtRootLevel": true }],
"node/prefer-global/buffer": "error",
"node/prefer-global/console": "error",
"node/prefer-global/process": "error",
"node/prefer-promises/fs": "error",
"node/prefer-promises/dns": "error",
"no-process-exit": "off",
"no-constant-condition": ["warn", { "checkLoops": false }],
"no-empty": ["warn", { "allowEmptyCatch": true }],
"no-irregular-whitespace": ["warn", { "skipComments": true, "skipRegExps": true, "skipTemplates": true }],
"no-useless-escape": "off",
"quotes": ["warn", "single", { "allowTemplateLiterals": true }],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-var-requires": "off"
},
"globals": {
"ENV": true,
"VERSION": true,
"API": true,
"LANGS": true
}
}