-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
96 lines (89 loc) · 2.68 KB
/
eslint.config.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
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import globals from 'globals';
export default [
{ ignores: ['**/node_modules', '**/scripts'] },
{
languageOptions: {
ecmaVersion: 13,
globals: {
...globals.node,
...globals.mocha,
}
},
rules: {
'no-use-before-define': ['error', {
functions: false,
classes: false,
}],
'no-unused-vars': ['error', {
vars: 'all',
args: 'none',
ignoreRestSiblings: false,
caughtErrors: 'none',
}],
camelcase: ['error', {
properties: 'always',
ignoreDestructuring: false,
}],
'no-undef': ['error'],
'no-throw-literal': ['error'],
strict: ['off'],
'quote-props': ['off'],
'max-classes-per-file': ['off'],
'no-await-in-loop': ['off'],
'array-bracket-spacing': ['off'],
'arrow-body-style': ['off'],
'arrow-parens': ['off'],
'class-methods-use-this': ['off'],
'comma-dangle': ['off'],
'comma-spacing': ['off'],
'consistent-return': ['off'],
'func-names': ['off'],
'function-paren-newline': ['off'],
'global-require': ['off'],
'guard-for-in': ['off'],
indent: ['off'],
'key-spacing': ['off'],
'max-len': ['off'],
'newline-per-chained-call': ['off'],
'no-confusing-arrow': ['off'],
'no-console': ['off'],
'no-continue': ['off'],
'no-else-return': ['off'],
'no-lonely-if': ['off'],
'no-mixed-operators': ['off'],
'no-multi-spaces': ['off'],
'no-multiple-empty-lines': ['off'],
'no-param-reassign': ['off'],
'no-plusplus': ['off'],
'no-prototype-builtins': ['off'],
'no-restricted-syntax': ['off'],
'no-shadow': ['off'],
'no-underscore-dangle': ['off'],
'no-unneeded-ternary': ['off'],
'no-useless-concat': ['off'],
'no-var': ['off'],
'object-curly-newline': ['off'],
'object-curly-spacing': ['off'],
'object-property-newline': ['off'],
'object-shorthand': ['off'],
'operator-assignment': ['off'],
'operator-linebreak': ['off'],
'padded-blocks': ['off'],
'prefer-arrow-callback': ['off'],
'prefer-const': ['off'],
'prefer-destructuring': ['off'],
'prefer-promise-reject-errors': ['off'],
'prefer-rest-params': ['off'],
'prefer-object-spread': ['off'],
'prefer-template': ['off'],
'space-before-blocks': ['off'],
'space-before-function-paren': ['off'],
'space-in-parens': ['off'],
'space-infix-ops': ['off'],
'spaced-comment': ['off'],
'vars-on-top': ['off'],
'import/extensions': ['off'],
'import/prefer-default-export': ['off'],
},
}
];