-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
68 lines (65 loc) · 1.77 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"extends": [
"hardcore",
"hardcore/ts"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"browser": true
},
"rules": {
"import/no-unused-modules": "warn",
"max-statements": "off",
"no-negated-condition": "off",
"func-style": "off",
"curly": "off",
"unicorn/new-for-builtins": "off",
"id-length": "off",
"unicorn/prefer-ternary": "off",
"no-continue": "off",
"@typescript-eslint/naming-convention": "off",
"unicorn/prevent-abbreviations": "off",
"max-params": "off",
"no-underscore-dangle": "off",
"no-bitwise": "off",
"complexity": "off",
"import/prefer-default-export": "off",
"prefer-destructuring": "off",
"regexp/prefer-named-capture-group": "off",
"@typescript-eslint/no-magic-numbers": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/parameter-properties": "off",
"import/no-namespace": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "warn",
"prefer-named-capture-group": "off",
"unicorn/consistent-function-scoping": "off",
"@typescript-eslint/consistent-indexed-object-style": ["error", "record"],
"prettier/prettier": [
"warn",
{
"singleQuote": true,
"semi": false,
"endOfLine": "auto"
}
],
"@typescript-eslint/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"never"
],
"regexp/match-any": ["error", {
"allows": ["[^]", "dotAll"]
}],
"new-cap": "off",
"max-len": ["off", { "code": 250 }]
}
}