Releases: xojs/xo
Releases · xojs/xo
0.18.2
We finally fixed all the gitignore issues. Thanks to hard work by @marionebl and @schnittstabil.
The --open
flag now also supports VS Code.
0.18.1
Removes the promise/no-promise-in-callback
and promise/no-callback-in-promise
rules. They were more annoying than useful. You usually have to deal with a lot of non-Promise APIs, so I had to disable it too many times. Some APIs will also never be Promise, like events and streams. 2253852
0.18.0
Highlights
- The
esnext
option is nowtrue
by default. This means it now enforces the use of as much ES2015+ syntax as Node.js 4 supports. 61c046c - 21 new rules:
- Unicorn plugin: sindresorhus/eslint-plugin-unicorn@v1.0.0...v2.1.0
- AVA plugin: avajs/eslint-plugin-ava@a0156f1
- Promise plugin: 3e1a318
- ESLint: xojs/eslint-config-xo@v0.17.0...v0.18.0
- 27 additional ESLint rules are now auto-fixable with
$ xo --fix
. - Handle negative gitignore patterns correctly. f8e1e3d
- Vim plugin for XO.
- Added
--stdin-filename
CLI flag. 0d88cde - Added support for auto-fixing code from stdin. 6d6d642
- Added tip on how to use XO with monorepos. cb63c5f
- Removed the
import/no-dynamic-require
rule. 29a5263 - Ignores directories when receiving an empty extension. a0ae248
- Don't trigger import duplication errors for Flow type imports. da188e5
All changes
0.17.0
Check out the new feature highlight on what makes XO awesome.
Also excited to share that Hyper.app is now using XO \o/
Highlights
- Dropped support for Node.js 0.10 and 0.12 as ESLint did it and we had to follow. c9b9b84
- Many new rules (25 in total!) and changes to existing ones:
- ESLint: xojs/eslint-config-xo@v0.15.0...v0.17.0
- Unicorn plugin: sindresorhus/eslint-plugin-unicorn@v0.5.0...v1.0.0
- AVA plugin: avajs/eslint-plugin-ava@v2.0.0...v3.1.0
- Import plugin: e8b0a30
- 25 additional ESLint rules are now auto-fixable with
$ xo --fix
. Try it out when upgrading!
(If you want to convert ES5 syntax to ES6, you might want to run it with$ xo --fix --esnext
) - Removed
babel-eslint
as ESLint now supports async/await. See theparser
option if you still need it, and ensure you havebabel-eslint
indevDependencies
. 04733f1 - Now ignores paths from
.gitignore
. fa99f36 - Added
--quiet
CLI flag. bb76a2d - Added
extension
option. 3c42847 - Added
settings
option. 85c6094 - Added
parser
option. 85c6094 - Added abiliy to skip a package.json file and continue looking for XO config. 8933f51
- Considerable less amount of dependencies resulting in faster install and taking up less diskspace.