You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enforce ES2015+ rules. Disabling this will make it not *enforce* ES2015+ syntax and conventions.
276
-
277
-
*ES2015+ is parsed even without this option. You can already use ES2017 features like [`async`/`await`](https://github.com/lukehoban/ecmascript-asyncawait).
278
-
279
269
### webpack
280
270
281
271
Type: `boolean | object`
@@ -317,12 +307,11 @@ XO makes it easy to override configs for specific files. The `overrides` propert
317
307
"overrides": [
318
308
{
319
309
"files": "test/*.js",
320
-
"esnext": false,
321
310
"space": 3
322
311
},
323
312
{
324
313
"files": "test/foo.js",
325
-
"esnext": true
314
+
"semicolon": true
326
315
}
327
316
]
328
317
}
@@ -331,11 +320,10 @@ XO makes it easy to override configs for specific files. The `overrides` propert
331
320
332
321
- The base configuration is simply `space: 2`, `semicolon: false`. These settings are used for every file unless otherwise noted below.
333
322
334
-
- For every file in `test/*.js`, the base config is used, but `space` is overridden with `3`, and the `esnext` option is set to `false`. The resulting config is:
323
+
- For every file in `test/*.js`, the base config is used, but `space` is overridden with `3`. The resulting config is:
335
324
336
325
```json
337
326
{
338
-
"esnext": false,
339
327
"semicolon": false,
340
328
"space": 3
341
329
}
@@ -345,8 +333,7 @@ XO makes it easy to override configs for specific files. The `overrides` propert
0 commit comments