forked from bandada-infra/bandada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
54 lines (54 loc) · 1.62 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
53
54
{
"root": true,
"env": {
"es6": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"plugin:jest/recommended",
"plugin:jest/style",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"project": [
"./tsconfig.json",
"./libs/**/tsconfig.json",
"./apps/**/tsconfig.json"
]
},
"plugins": ["@typescript-eslint", "jest"],
"rules": {
"import/extensions": "off",
"react/no-array-index-key": "off",
"react/jsx-pascal-case": "off",
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-shadow": [
"error",
{
"allow": ["admin", "groups"]
}
],
"no-restricted-syntax": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"react/require-default-props": "off",
"consistent-return": "off",
"class-methods-use-this": "off",
"import/no-extraneous-dependencies": "off",
"no-console": ["warn", { "allow": ["info", "warn", "error"] }],
"react/react-in-jsx-scope": "off",
"no-nested-ternary": "off",
"react/jsx-props-no-spreading": "off",
"no-alert": "off"
}
}