-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
36 lines (32 loc) Β· 1.05 KB
/
.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
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true,
},
"rules": {
"jsx-a11y/href-no-hash": "off",
// Override airbnb to disable devDependencies check until we figure out how to exclude tests files
"import/no-extraneous-dependencies": [2, {"optionalDependencies": false}],
// We rely on named export for reducer so namespace is preserved in the redux store.
"import/prefer-default-export": 0,
// Turn off https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-filename-extension.md
"react/jsx-filename-extension": 0,
// Turn off https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default-member.md
"import/no-named-as-default-member": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"react/sort-comp": 0,
"func-names": 0,
"no-multi-assign": 0,
"max-len" : 0,
"no-shadow": 0,
"no-param-reassign": 0,
"no-plusplus": 0
}
}