1 | {
|
2 | "env": {
|
3 | "node": true
|
4 | },
|
5 | "ecmaFeatures": {
|
6 | "arrowFunctions": true,
|
7 | "binaryLiterals": true,
|
8 | "blockBindings": true,
|
9 | "classes": true,
|
10 | "defaultParams": false,
|
11 | "destructuring": true,
|
12 | "forOf": true,
|
13 | "generators": true,
|
14 | "modules": false,
|
15 | "objectLiteralComputedProperties": true,
|
16 | "objectLiteralDuplicateProperties": false,
|
17 | "objectLiteralShorthandMethods": true,
|
18 | "objectLiteralShorthandProperties": true,
|
19 | "octalLiterals": true,
|
20 | "regexUFlag": true,
|
21 | "regexYFlag": true,
|
22 | "restParams": true,
|
23 | "spread": true,
|
24 | "superInFunctions": true,
|
25 | "templateStrings": true,
|
26 | "unicodeCodePointEscapes": true,
|
27 | "globalReturn": false,
|
28 | "jsx": false
|
29 | },
|
30 | "rules": {
|
31 | "no-debugger": 2,
|
32 | "no-dupe-args": 2,
|
33 | "no-dupe-keys": 2,
|
34 | "no-duplicate-case": 2,
|
35 | "no-ex-assign": 2,
|
36 | "quote-props": [
|
37 | 2,
|
38 | "as-needed",
|
39 | {
|
40 | "keywords": true,
|
41 | "unnecessary": false
|
42 | }
|
43 | ],
|
44 | "no-unreachable": 2,
|
45 | "valid-typeof": 2,
|
46 | "no-fallthrough": 2,
|
47 | "quotes": [
|
48 | 2,
|
49 | "single",
|
50 | "avoid-escape"
|
51 | ],
|
52 | "comma-spacing": 2,
|
53 | "semi": 2,
|
54 | "space-infix-ops": 2,
|
55 | "space-return-throw-case": 2,
|
56 | "space-before-function-paren": [
|
57 | 2,
|
58 | {
|
59 | "anonymous": "always",
|
60 | "named": "never"
|
61 | }
|
62 | ],
|
63 | "space-before-blocks": [
|
64 | 2,
|
65 | "always"
|
66 | ],
|
67 | "new-parens": 2,
|
68 | "max-len": [
|
69 | 2,
|
70 | 160,
|
71 | 2
|
72 | ],
|
73 | "no-multiple-empty-lines": [
|
74 | 2,
|
75 | {
|
76 | "max": 2
|
77 | }
|
78 | ],
|
79 | "eol-last": 2,
|
80 | "no-trailing-spaces": 2,
|
81 | "space-after-keywords": 2,
|
82 | "prefer-const": 2,
|
83 | "strict": [
|
84 | 2,
|
85 | "global"
|
86 | ],
|
87 | "no-undef": 2,
|
88 | "no-unused-vars": [
|
89 | 2,
|
90 | {
|
91 | "args": "none"
|
92 | }
|
93 | ]
|
94 | },
|
95 | "globals": {
|
96 | "describe": false,
|
97 | "it": false,
|
98 | "expect": false,
|
99 | "jasmine": false,
|
100 | "beforeEach": false,
|
101 | "fail": false
|
102 | }
|
103 | }
|