-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
52 lines (52 loc) · 1.42 KB
/
.eslintrc.json
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
{
"extends": [
"hardcore",
"hardcore/ts"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"no-duplicate-imports": "off",
"import/no-duplicates": "off",
"perfectionist/sort-objects": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"@typescript-eslint/prefer-destructuring": "off",
"@typescript-eslint/naming-convention": "off",
"no-console": "error",
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"import/no-unused-modules": "off",
"@typescript-eslint/parameter-properties": ["error", { "prefer": "parameter-property" }],
"no-undef-init": "off",
"compat/compat": "off",
"camelcase": "off",
"func-style": ["error","expression"],
"sonarjs/elseif-without-else": "off",
"@stylistic/max-len": "off",
"putout/putout": "off",
"max-len": "off",
"no-continue": "off",
"@typescript-eslint/no-magic-numbers": ["error", {
"ignore": [0,1,-1]
}]
},
"overrides": [
{
"files": "src/intents/*",
"rules": {
"import/no-anonymous-default-export": "off",
"import/no-duplicates": "off",
"no-duplicate-imports": "off",
"max-statements": "warn"
}
},
{
"files": "src/tests/*",
"rules": {
"max-lines": "off",
"no-console": "off",
"@typescript-eslint/no-magic-numbers": "off"
}
}
]
}