-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 971 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
28
29
30
31
32
33
34
35
36
{
"extends": [
"airbnb"
],
"env": {
"browser": true
},
"globals": {
"document": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
},
"allowImportExportEverywhere": true
},
"rules": {
"comma-dangle": 1,
"consistent-return": ["warn"],
"no-undef": 1,
"no-underscore-dangle": ["off"],
"no-multiple-empty-lines": 0,
"react/destructuring-assignment": 1,
"react/prefer-stateless-function": 1,
"react/react-in-jsx-scope": ["off"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prop-types": 1,
"jsx-a11y/label-has-for": ["off"],
"jsx-a11y/label-has-associated-control": ["off"],
"jsx-a11y/click-events-have-key-events": ["off"],
"jsx-a11y/no-noninteractive-element-interactions": ["off"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
}
}