-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc.js
34 lines (34 loc) · 958 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": "airbnb",
"plugins": [
"react"
],
"env": {
"browser": true,
},
"globals": {
"expect": true,
"protractor": true,
"by": true,
"it": true,
"$": true,
"driver": true,
"browser": true,
"element": true
},
"rules": {
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"arrow-parens": ["error", "always"],
"no-useless-escape": "off",
"global-require": "off",
"no-console": "off",
"import/no-dynamic-require": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/label-has-for": "off",
"react/jsx-filename-extension": "off",
"react/no-did-mount-set-state": "off",
"max-len": ["error", { "code": 200 }],
"quote-props": "off",
"func-names": "off", // <-- Avoids "unexpected unnamed async function" in async mocha tests
},
};