Skip to content

Commit

Permalink
eslint-plugin-xo was renamed to eslint-plugin-unicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 20, 2016
1 parent bb76a2d commit fbb1668
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module.exports = {
plugins: [
'no-use-extend-native',
'ava',
'xo',
'unicorn',
'promise',
'import'
],
extends: [
'plugin:ava/recommended',
'plugin:xo/recommended'
'plugin:unicorn/recommended'
],
settings: {
'import/extensions': ['.js'] // TODO: remove this when eslint-plugin-import@2 is out
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.lintFiles = function (patterns, opts) {
return ext === '.js' || ext === '.jsx';
});

if (!(opts.overrides && opts.overrides.length)) {
if (!(opts.overrides && opts.overrides.length > 0)) {
return runEslint(paths, opts);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"eslint-plugin-import": "^1.7.0",
"eslint-plugin-no-use-extend-native": "^0.3.2",
"eslint-plugin-promise": "^1.1.0",
"eslint-plugin-xo": "^0.5.0",
"eslint-plugin-unicorn": "^1.0.0",
"get-stdin": "^5.0.0",
"globby": "^5.0.0",
"has-flag": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ let g:syntastic_javascript_checkers = ['eslint']

## Related

- [eslint-plugin-xo](https://github.com/sindresorhus/eslint-plugin-xo) - Additional ESLint rules *(Bundled in XO)*
- [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) - Various awesome ESLint rules *(Bundled in XO)*


## Badge
Expand All @@ -319,4 +319,4 @@ Show the world you're using XO → [![XO code style](https://img.shields.io/badg

## License

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)

0 comments on commit fbb1668

Please sign in to comment.