1 | module.exports = {
|
2 | "extends": "airbnb",
|
3 | "plugins": [
|
4 | "react"
|
5 | ],
|
6 | "env": {
|
7 | "browser": true,
|
8 | },
|
9 | "globals": {
|
10 | "expect": true,
|
11 | "protractor": true,
|
12 | "by": true,
|
13 | "it": true,
|
14 | "browser": true,
|
15 | "element": true
|
16 | },
|
17 | "rules": {
|
18 | "import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
|
19 | "arrow-parens": ["error", "always"],
|
20 | "no-useless-escape": "off",
|
21 | "global-require": "off",
|
22 | "no-console": "off",
|
23 | "import/no-dynamic-require": "off",
|
24 | "jsx-a11y/anchor-is-valid": "off",
|
25 | "jsx-a11y/label-has-for": "off",
|
26 | "react/jsx-filename-extension": "off",
|
27 | "react/no-did-mount-set-state": "off",
|
28 | "max-len": ["error", { "code": 200 }],
|
29 | "quote-props": ["error", "consistent"],
|
30 | "func-names": "off",
|
31 | },
|
32 | }; |
\ | No newline at end of file |