|
1 | 1 | {
|
2 |
| - "ecmaFeatures": { |
3 |
| - "globalReturn": true, |
4 |
| - "jsx": true, |
5 |
| - "modules": true |
6 |
| - }, |
7 |
| - |
8 |
| - "env": { |
9 |
| - "browser": true, |
10 |
| - "es6": true, |
11 |
| - "node": true |
12 |
| - }, |
13 |
| - |
14 |
| - "globals": { |
15 |
| - "document": false, |
16 |
| - "escape": false, |
17 |
| - "navigator": false, |
18 |
| - "unescape": false, |
19 |
| - "window": false, |
20 |
| - "describe": true, |
21 |
| - "before": true, |
22 |
| - "it": true, |
23 |
| - "expect": true, |
24 |
| - "sinon": true |
25 |
| - }, |
26 |
| - |
27 |
| - "parser": "babel-eslint", |
28 |
| - |
29 |
| - "plugins": [ |
30 |
| - |
31 |
| - ], |
32 |
| - |
33 |
| - "rules": { |
34 |
| - "block-scoped-var": 2, |
35 |
| - "brace-style": [2, "1tbs", { "allowSingleLine": true }], |
36 |
| - "comma-dangle": [2, "never"], |
37 |
| - "comma-spacing": [2, { "before": false, "after": true }], |
38 |
| - "comma-style": [2, "last"], |
39 |
| - "complexity": 0, |
40 |
| - "consistent-return": 2, |
41 |
| - "consistent-this": 0, |
42 |
| - "curly": [2, "multi-line"], |
43 |
| - "default-case": 0, |
44 |
| - "dot-location": [2, "property"], |
45 |
| - "dot-notation": 0, |
46 |
| - "eol-last": 2, |
47 |
| - "eqeqeq": [2, "allow-null"], |
48 |
| - "func-names": 0, |
49 |
| - "func-style": 0, |
50 |
| - "generator-star-spacing": [2, "both"], |
51 |
| - "guard-for-in": 0, |
52 |
| - "handle-callback-err": [2, "^(err|error|anySpecificError)$" ], |
53 |
| - "indent": [2, "tab", { "SwitchCase": 1 }], |
54 |
| - "key-spacing": [2, { "beforeColon": false, "afterColon": true }], |
55 |
| - "linebreak-style": 0, |
56 |
| - "max-depth": 0, |
57 |
| - "max-len": [2, 120, 4], |
58 |
| - "max-nested-callbacks": 0, |
59 |
| - "max-params": 0, |
60 |
| - "max-statements": 0, |
61 |
| - "new-cap": [2, { "newIsCap": true, "capIsNew": false }], |
62 |
| - "new-parens": 2, |
63 |
| - "no-alert": 0, |
64 |
| - "no-array-constructor": 2, |
65 |
| - "no-bitwise": 0, |
66 |
| - "no-caller": 2, |
67 |
| - "no-catch-shadow": 0, |
68 |
| - "no-cond-assign": 2, |
69 |
| - "no-console": 0, |
70 |
| - "no-constant-condition": 0, |
71 |
| - "no-continue": 0, |
72 |
| - "no-control-regex": 2, |
73 |
| - "no-debugger": 2, |
74 |
| - "no-delete-var": 2, |
75 |
| - "no-div-regex": 0, |
76 |
| - "no-dupe-args": 2, |
77 |
| - "no-dupe-keys": 2, |
78 |
| - "no-duplicate-case": 2, |
79 |
| - "no-else-return": 2, |
80 |
| - "no-empty": 0, |
81 |
| - "no-empty-character-class": 2, |
82 |
| - "no-empty-label": 2, |
83 |
| - "no-eq-null": 0, |
84 |
| - "no-eval": 2, |
85 |
| - "no-ex-assign": 2, |
86 |
| - "no-extend-native": 2, |
87 |
| - "no-extra-bind": 2, |
88 |
| - "no-extra-boolean-cast": 2, |
89 |
| - "no-extra-parens": 0, |
90 |
| - "no-extra-semi": 0, |
91 |
| - "no-extra-strict": 0, |
92 |
| - "no-fallthrough": 2, |
93 |
| - "no-floating-decimal": 2, |
94 |
| - "no-func-assign": 2, |
95 |
| - "no-implied-eval": 2, |
96 |
| - "no-inline-comments": 0, |
97 |
| - "no-inner-declarations": [2, "functions"], |
98 |
| - "no-invalid-regexp": 2, |
99 |
| - "no-irregular-whitespace": 2, |
100 |
| - "no-iterator": 2, |
101 |
| - "no-label-var": 2, |
102 |
| - "no-labels": 2, |
103 |
| - "no-lone-blocks": 0, |
104 |
| - "no-lonely-if": 0, |
105 |
| - "no-loop-func": 0, |
106 |
| - "no-mixed-requires": 0, |
107 |
| - "no-mixed-spaces-and-tabs": [2, false], |
108 |
| - "no-multi-spaces": 2, |
109 |
| - "no-multi-str": 2, |
110 |
| - "no-multiple-empty-lines": [2, { "max": 1 }], |
111 |
| - "no-native-reassign": 2, |
112 |
| - "no-negated-in-lhs": 2, |
113 |
| - "no-nested-ternary": 0, |
114 |
| - "no-new": 2, |
115 |
| - "no-new-func": 2, |
116 |
| - "no-new-object": 2, |
117 |
| - "no-new-require": 2, |
118 |
| - "no-new-wrappers": 2, |
119 |
| - "no-obj-calls": 2, |
120 |
| - "no-octal": 2, |
121 |
| - "no-octal-escape": 2, |
122 |
| - "no-path-concat": 0, |
123 |
| - "no-plusplus": 0, |
124 |
| - "no-process-env": 0, |
125 |
| - "no-process-exit": 0, |
126 |
| - "no-proto": 2, |
127 |
| - "no-redeclare": 2, |
128 |
| - "no-regex-spaces": 2, |
129 |
| - "no-reserved-keys": 0, |
130 |
| - "no-restricted-modules": 0, |
131 |
| - "no-return-assign": 2, |
132 |
| - "no-script-url": 0, |
133 |
| - "no-self-compare": 2, |
134 |
| - "no-sequences": 2, |
135 |
| - "no-shadow": 0, |
136 |
| - "no-shadow-restricted-names": 2, |
137 |
| - "no-spaced-func": 2, |
138 |
| - "no-sparse-arrays": 2, |
139 |
| - "no-sync": 0, |
140 |
| - "no-ternary": 0, |
141 |
| - "no-throw-literal": 2, |
142 |
| - "no-trailing-spaces": 2, |
143 |
| - "no-undef": 2, |
144 |
| - "no-undef-init": 2, |
145 |
| - "no-undefined": 0, |
146 |
| - "no-underscore-dangle": 0, |
147 |
| - "no-unneeded-ternary": 2, |
148 |
| - "no-unreachable": 2, |
149 |
| - "no-unused-expressions": 0, |
150 |
| - "no-unused-vars": [2, { "vars": "all", "args": "none" }], |
151 |
| - "no-var": 0, |
152 |
| - "no-void": 0, |
153 |
| - "no-warning-comments": 0, |
154 |
| - "no-with": 2, |
155 |
| - "one-var": 0, |
156 |
| - "operator-assignment": 0, |
157 |
| - "operator-linebreak": [2, "after"], |
158 |
| - "padded-blocks": 0, |
159 |
| - "quote-props": 0, |
160 |
| - "quotes": [2, "single", "avoid-escape"], |
161 |
| - "radix": 2, |
162 |
| - "semi": [2, "always"], |
163 |
| - "semi-spacing": 0, |
164 |
| - "sort-vars": 0, |
165 |
| - "space-before-blocks": [2, "always"], |
166 |
| - "space-before-function-paren": [2, {"anonymous": "always", "named": "never"}], |
167 |
| - "space-in-brackets": 0, |
168 |
| - "space-in-parens": [2, "never"], |
169 |
| - "space-infix-ops": 2, |
170 |
| - "space-return-throw-case": 2, |
171 |
| - "space-unary-ops": [2, { "words": true, "nonwords": false }], |
172 |
| - "spaced-comment": [2, "always"], |
173 |
| - "strict": 0, |
174 |
| - "use-isnan": 2, |
175 |
| - "valid-jsdoc": 0, |
176 |
| - "valid-typeof": 2, |
177 |
| - "vars-on-top": 2, |
178 |
| - "wrap-iife": [2, "any"], |
179 |
| - "wrap-regex": 0, |
180 |
| - "yoda": [2, "never"] |
181 |
| - } |
| 2 | + "extends": ["plugin:prettier/recommended"], |
| 3 | + "parserOptions": { |
| 4 | + "ecmaVersion": 6, |
| 5 | + "sourceType": "module" |
| 6 | + } |
182 | 7 | }
|
0 commit comments