diff options
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 000000000..994c00653 --- /dev/null +++ b/.eslintrc | |||
@@ -0,0 +1,36 @@ | |||
1 | { | ||
2 | "parser": "babel-eslint", | ||
3 | "extends": "eslint-config-airbnb", | ||
4 | "rules": { | ||
5 | "import/extensions": 0, | ||
6 | "import/no-extraneous-dependencies": 0, | ||
7 | "import/no-unresolved": [2, { | ||
8 | "ignore": ["electron"] | ||
9 | }], | ||
10 | "linebreak-style": 0, | ||
11 | "react/prefer-stateless-function": 0, | ||
12 | "react/jsx-filename-extension": [1, { | ||
13 | "extensions": [".js", ".jsx"] | ||
14 | }], | ||
15 | "no-underscore-dangle": 0, | ||
16 | "max-len": 0, | ||
17 | "class-methods-use-this": 0, | ||
18 | "no-console": 0, | ||
19 | "react/jsx-no-bind": 0, | ||
20 | "jsx-a11y/no-static-element-interactions": 0, | ||
21 | "react/jsx-no-target-blank": 0, | ||
22 | "no-restricted-syntax": [0, "ForInStatement"] | ||
23 | }, | ||
24 | "globals": { | ||
25 | "window": true, | ||
26 | "document": true, | ||
27 | "ENV": true, | ||
28 | "FormData": true, | ||
29 | "localStorage": true, | ||
30 | "navigator": true, | ||
31 | "Worker": true, | ||
32 | "atob": true, | ||
33 | "btoa": true, | ||
34 | "ga": true | ||
35 | } | ||
36 | } | ||