v0.25.0
Breaking
- Require Node.js 8 8a213ef
- Upgrade to ESLint 6 698b043
- Enforce using the
.json
extension for JSON files in imports 7e56730
New rules
- Add
prefer-named-capture-group
rule (for Node.js >=10 target) 21e7b57 - Add
default-param-last
rule - Add
prefer-regex-literals
rule - Add
no-import-assign
rule - Add
unicorn/expiring-todo-comments
rule - Add
unicorn/no-nested-ternary
rule - Add
unicorn/prefer-reflect-apply
rule - Add
unicorn/prefer-string-slice
rule - Add
unicorn/prefer-dataset
rule - Add
unicorn/no-for-loop
rule - Add
unicorn/no-zero-fractions
rule - Add
unicorn/prefer-includes
rule - Add
unicorn/prefer-text-content
rule - Add
unicorn/prefer-node-remove
rule - Add
unicorn/prefer-event-key
rule - Add
unicorn/prefer-flat-map
rule - Add
node/prefer-promises/fs
rule a3d74a6 - Add
node/prefer-promises/dns
rule 8f8fc94