forked from mattermost/mattermost-redux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
47 lines (47 loc) · 1.28 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
{
"extends": [
"./node_modules/eslint-config-mattermost/.eslintrc.json",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"env": {
"jest": true
},
"rules": {
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/no-undefined": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"no-prototype-builtins": 0,
"no-mixed-operators": 0,
"no-undefined": 0,
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": "function",
"next": "function"
}
],
"no-nested-ternary": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-use-before-define": 0,
"max-lines": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/explicit-function-return-type": 0
},
"overrides": [
{
"files": [
"*.test.js"
],
"env": {
"jest": true
}
}
]
}