xo 0.25.2 → 0.25.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config/plugins.js CHANGED
@@ -245,6 +245,9 @@ module.exports = {
245
245
  // 'eslint-comments/no-unlimited-disable': 'error',
246
246
 
247
247
  'eslint-comments/no-unused-disable': 'error',
248
- 'eslint-comments/no-unused-enable': 'error'
248
+ 'eslint-comments/no-unused-enable': 'error',
249
+
250
+ // Disabled by default, enabled only in Node.js >= 11 in option-manager.js
251
+ 'unicorn/prefer-flat-map': 'off'
249
252
  }
250
253
  };
@@ -107,6 +107,9 @@ const ENGINE_RULES = {
107
107
  },
108
108
  'prefer-named-capture-group': {
109
109
  '10.0.0': 'error'
110
+ },
111
+ 'unicorn/prefer-flat-map': {
112
+ '11.0.0': 'error'
110
113
  }
111
114
  };
112
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xo",
3
- "version": "0.25.2",
3
+ "version": "0.25.3",
4
4
  "description": "JavaScript linter with great defaults",
5
5
  "license": "MIT",
6
6
  "repository": "xojs/xo",
package/readme.md CHANGED
@@ -388,7 +388,8 @@ XO is based on ESLint. This project started out as just a shareable ESLint confi
388
388
 
389
389
  - [Gulp](https://github.com/xojs/gulp-xo)
390
390
  - [Grunt](https://github.com/xojs/grunt-xo)
391
- - [webpack](https://github.com/Semigradsky/xo-loader)
391
+ - [webpack loader](https://github.com/Semigradsky/xo-loader)
392
+ - [webpack plugin](https://github.com/nstanard/xo-webpack-plugin)
392
393
  - [Metalsmith](https://github.com/blainsmith/metalsmith-xo)
393
394
  - [Fly](https://github.com/lukeed/fly-xo)
394
395