v0.20.0
This release is way overdue, so glad to finally have it out! It includes a major ESLint upgrade, huge performance improvements, Prettier support, lots of new rules, and bug fixes.
The project was recently moved to a GitHub organization, and we got a new team member, Pierre Vanduynslager ✨
We now also have configs for TypeScript (using tslint
) and CSS & Sass (using stylelint
). And don't forget, we already have a config for React.
Many of the new rules in this release are from the eslint-plugin-unicorn
plugin, which could use some contributions.
Highlights
- Upgraded to ESLint 4. a11e288
- Added optional Prettier support. fd89175
- Improved performance. 552cbb1
- Now toggles rules based on the
engines
field inpackage.json
. 0d18368 - Disabled
linebreak-style
rule on Windows. xojs/eslint-config-xo@3f81796 - Made the
spaced-comment
rule more lenient. xojs/eslint-config-xo@e4f1f36 - Now allows
_
as argument name in theno-unused-vars
rule. xojs/eslint-config-xo@dda366b - The
--open
flag now opens errors first and not warnings. 6f6a606 - Removed deprecated
--compact
CLI flag. 652a6e5 - Excluded
babel-register
andbabel-polyfill
from theno-unassigned-import
rule. 70d6ab4 - Sets
ecmaVersion
to2018
. 9859dfb
New rules
22 new rules!
semi-style
xojs/eslint-config-xo@0b1680efor-direction
xojs/eslint-config-xo@c957c7fswitch-colon-spacing
xojs/eslint-config-xo@c1c8fc7no-buffer-constructor
xojs/eslint-config-xo@ee366cbgetter-return
xojs/eslint-config-xo@40e1442function-paren-newline
xojs/eslint-config-xo@9e90fdclines-between-class-members
xojs/eslint-config-xo@c7f63cdarray-bracket-newline
xojs/eslint-config-xo@e2f3748unicorn/prefer-add-event-listener
unicorn/prefer-spread rule
unicorn/no-unsafe-regex
unicorn/error-message
unicorn/import-index
unicorn/new-for-builtins
unicorn/regex-shorthand
unicorn/escape-case
unicorn/no-hex-escape
promise/no-return-wrap
4273f8apromise/no-return-in-finally
4273f8anode/no-unpublished-bin
16fb8e2node/process-exit-as-throw
16fb8e2node/no-deprecated-api
16fb8e2
All changes
Why is this not 0.19.0? That version got tainted by an incorrect publish a long time ago.