1 | {
|
2 | "parser": "babel-eslint",
|
3 | "ecmaFeatures": {
|
4 | "arrowFunctions": true,
|
5 | "blockBindings": true,
|
6 | "classes": true,
|
7 | "defaultParams": true,
|
8 | "modules": true,
|
9 | "objectLiteralShorthandMethods": true,
|
10 | "objectLiteralShorthandProperties": true,
|
11 | "restParams": true,
|
12 | "spread": true,
|
13 | "superInFunctions": true,
|
14 | "templateStrings": true
|
15 | },
|
16 | "env": {
|
17 | "browser": true,
|
18 | "es6": true
|
19 | },
|
20 | "rules": {
|
21 | "accessor-pairs": 1,
|
22 | "curly": [1, "multi-line"],
|
23 | "quotes": [1, "single"],
|
24 | "new-cap": [2, {"newIsCap": true, "capIsNew": false}],
|
25 | "no-mixed-spaces-and-tabs": [2, "smart-tabs"],
|
26 | "no-var": 2,
|
27 | "no-else-return": 2,
|
28 | "semi": 1,
|
29 | "no-unused-vars": 1,
|
30 | "no-multiple-empty-lines": [1, {"max": 2}],
|
31 | "no-underscore-dangle": 0,
|
32 | "constructor-super": 2,
|
33 | "no-this-before-super": 2,
|
34 | "no-dupe-class-members": 2,
|
35 | "object-shorthand": 1,
|
36 | "prefer-arrow-callback": 1,
|
37 | "prefer-spread": 1,
|
38 | }
|
39 | }
|