-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
56 lines (56 loc) · 1.47 KB
/
.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
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
module.exports = {
env: {
node: true
},
extends: ["eslint:all", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "sort-keys-fix"],
root: true,
overrides: [
{
files: ["*.js"],
rules: {
"sort-keys-fix/sort-keys-fix": "off",
"sort-keys": "off"
}
}
],
rules: {
"array-element-newline": "off",
"consistent-return": "off",
complexity: ["error", { max: 30 }],
curly: "off",
"dot-location": "off",
"func-names": ["error", "as-needed"],
"function-call-argument-newline": "off",
"function-paren-newline": "off",
"id-length": "off",
indent: "off",
"max-depth": "off",
"max-len": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-params": "off",
"max-statements": "off",
"new-cap": "off",
"no-console": "off",
"no-extra-parens": "off",
"no-magic-numbers": "off",
"no-ternary": "off",
"no-undefined": "off",
"no-useless-return": "off",
"nonblock-statement-body-position": "off",
"object-curly-spacing": "off",
"object-property-newline": "off",
"one-var": "off",
"padded-blocks": "off",
"prefer-named-capture-group": "off",
"quote-props": "off",
"require-atomic-updates": "off",
"require-unicode-regexp": "off",
semi: "off",
"sort-imports": "off",
"sort-keys-fix/sort-keys-fix": "error",
"space-before-function-paren": "off"
}
}