forked from victorbalssa/abacus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
96 lines (96 loc) · 1.98 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"tsx": true,
"modules": true
},
"ecmaVersion": 6,
"project": "./tsconfig.json",
"sourceType": "module"
},
"settings": {
"react": {
"version": "detect"
}
},
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx"
],
"rules": {
"no-unused-vars": [
"off"
],
"no-undef": [
"off"
]
}
}
],
"rules": {
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "all"
}
],
"global-require": "warn",
"no-console": "warn",
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"jsx-a11y/anchor-is-valid": "off",
"no-underscore-dangle": "off",
"prefer-promise-reject-errors": "off",
"no-nested-ternary": "off",
"react/no-multi-comp": "off",
"react/no-unescaped-entities": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/require-default-props": "off",
"react/prop-types": "off",
"max-len": "off",
"react/style-prop-object": "off",
"@typescript-eslint/no-empty-function": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"error"
],
"no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": [
"acc"
]
}
]
}
}