eslint-config-prettier
Advanced tools
Changelog
Version 6.8.0 (2019-12-25)
Changelog
Version 6.7.0 (2019-11-19)
Changelog
Version 6.6.0 (2019-11-17)
Changelog
Version 6.5.0 (2019-10-26)
Changelog
Version 6.4.0 (2019-10-05)
Changelog
Version 6.3.0 (2019-09-10)
Changelog
Version 6.2.0 (2019-09-03)
Changelog
Version 6.1.0 (2019-08-19)
Changelog
Version 6.0.0 (2019-06-25)
Changed: The CLI helper tool now considers [no-confusing-arrow] to conflict if you use the default value of its allowParens
option. The default was changed to true
in ESLint 6, which conflicts with Prettier.
If the CLI helper tool gives you errors about this after upgrading, the solution is to change this:
{
"rules": {
"no-confusing-arrow": ["error"]
}
}
Into this:
{
"rules": {
"no-confusing-arrow": ["error", { "allowParens": false }]
}
}
The latter works in both ESLint 6 as well as in ESLint 5 and older.
Improved: eslint --print-config
usage instructions. The CLI tool help text as well as the documentation has been updated to suggest commands that work in ESLint 6.0 as well as in ESLint 5 and older. (Instead of eslint --print-config .
, use eslint --print-config path/to/main.js
.)