/
.eslintrc
34 lines (34 loc) · 1009 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
// Use this file as a starting point for your project's .eslintrc.
// Copy this file, and add rule overrides as needed.
// the base style guide for this project is Airbnb
// see: https://github.com/airbnb/javascript
{
"extends": "airbnb",
"env": {
"es6": true,
"jasmine": true,
"jest": true
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"alert": true,
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "src/js"]
}
}
},
// overrides to the Airbnb style follow
"rules": {
// allow names to be the same as the default for Redux container testing
"import/no-named-as-default": [0],
// will be re-enabled after configuring test and build to use jsx
"react/jsx-filename-extension": "off",
"jsx-a11y/anchor-has-content": "off",
"linebreak-style": [0],
}
}