forked from liberland/liberland_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
27 lines (27 loc) · 812 Bytes
/
.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
{
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prop-types": 2,
"react/button-has-type": 0,
"import/prefer-default-export": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"no-control-regex": 0,
"jsx-a11y/label-has-associated-control": [ 2, {
"controlComponents": ["Inputs.FileInput"]
}],
"no-underscore-dangle": 0,
"react/jsx-props-no-spreading": 0,
"camelcase": 0,
"no-restricted-syntax": 0,
"no-await-in-loop": 0,
"no-console": ["error", { "allow": ["error"] }]
},
"env": {
"browser": true,
"jest": true,
},
"parser": "babel-eslint"
}