1 | {
|
2 | "extends": "eslint-config-airbnb",
|
3 | "env": {
|
4 | "browser": true,
|
5 | "node": true,
|
6 | "mocha": true
|
7 | },
|
8 | "ecmaFeatures": {
|
9 | "destructing": true,
|
10 | "rest":true,
|
11 | "classes": true
|
12 | },
|
13 | "rules": {
|
14 | "import/default": 0,
|
15 | "import/no-duplicates": 0,
|
16 | "import/named": 0,
|
17 | "import/namespace": 0,
|
18 | "import/no-unresolved": 0,
|
19 | "import/no-named-as-default": 2,
|
20 | "comma-dangle": 0,
|
21 | // not sure why airbnb turned this on. gross!
|
22 | "indent": [2, 2, {"SwitchCase": 1}],
|
23 | "no-console": 0,
|
24 | "no-alert": 0,
|
25 | "max-len":[2,140],
|
26 | "func-names":0
|
27 | },
|
28 | "plugins": [
|
29 | "import"
|
30 | ],
|
31 | "parser": "babel-eslint"
|
32 | }
|