|
3 | 3 | "env": { |
4 | 4 | "browser": true, |
5 | 5 | "node": true, |
6 | | - "es6": true |
| 6 | + "es6": true, |
| 7 | + "mocha": true |
7 | 8 | }, |
8 | 9 | "ecmaFeatures": { |
9 | 10 | "modules": true, |
|
116 | 117 | }], |
117 | 118 | "lines-around-comment": 0, // Do not require new line before comments |
118 | 119 | "linebreak-style": [2, "unix"], // Unix linebreaks |
119 | | - "max-nested-callbacks": [1, 2], // No more than 2 levels of nested callbacks |
| 120 | + "max-nested-callbacks": [1, 3], // No more than 3 levels of nested callbacks |
120 | 121 | "new-cap": 0, // Do not require capital letter for constructors |
121 | 122 | "new-parens": 2, // Disallow the omission of parentheses when invoking a constructor with no arguments |
122 | 123 | "no-lonely-if": 1, // Disallow if as the only statement in an else block |
|
133 | 134 | "no-useless-concat": 1, // Disallow unncessary concatenation of strings |
134 | 135 | "operator-assignment": [1, "always"], // Require assignment operator shorthand where possible |
135 | 136 | "operator-linebreak": [1, "after"], // Operators should be placed before line breaks |
136 | | - "padded-blocks": [1, "never"], // Disallow padding within blocks |
137 | 137 | "quote-props": 0, // Do not require quotes around object literal property names |
138 | 138 | "quotes": [1, "single", "avoid-escape"], // Single quotes |
139 | 139 | "semi-spacing": [1, { // No space before semicolon, space after semicolon |
|
203 | 203 | // }], |
204 | 204 | "react/wrap-multilines": 1 |
205 | 205 | }, |
206 | | - "globals": { |
| 206 | + "globals": { |
| 207 | + "describe": false, |
| 208 | + "it": false |
207 | 209 | } |
208 | 210 | } |
0 commit comments