-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
41 lines (41 loc) · 1.36 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
{
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "off",
"unicorn/filename-case": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/no-hex-escape": "off",
"unicorn/better-regex": "off",
"unicorn/no-zero-fractions": "off",
"unicorn/no-array-for-each": "off",
"unicorn/explicit-length-check": "off",
"unicorn/no-process-exit": "off",
"no-process-exit": "off",
"no-await-in-loop": "off",
"no-control-regex": "off",
"max-nested-callbacks": "off",
"unicorn/prefer-json-parse-buffer": "off",
"camelcase": "off", // Camel case fields are used in CKL
"no-console": "off",
"node/no-missing-import": "off",
"complexity": "off",
"no-constant-condition": "off",
"keyword-spacing": 2,
"space-before-blocks":"warn",
"space-in-parens": 2,
"indent": ["error", 2, { "SwitchCase": 1 }],
"quotes": [2, "single", { "avoidEscape": true }],
"object-curly-spacing": [2, "never"]
},
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
]
}