v8.0.0
This release is focused on helping you write more readable code and to adopt modern APIs. My favorite is the prevent-abbreviations
rule, which encourages you to pick readable variable names.
New rules
- Add
prevent-abbreviations
rule (#237) 76ff30e - Add
no-for-loop
rule (#221) b94ab9a - Add
no-zero-fractions
rule (#244) 75b8192 - Add
prefer-includes
rule (#214) a330d74 - Add
prefer-text-content
rule (#223) c493115 - Add
prefer-node-remove
rule (#222) fda5517
Enhancements
- Add
meta.type
to rules (#241) 610a901 - Add
excludedPackages
option to theprefer-add-event-listener
rule (#235) f141a4c - Add event clearing to
prefer-add-event-listener
rule (#216) 7503d12
Fixes
- Fix the default value for the
filename-case
rule 139ac16 - Fix ES2015 exports not counting an object as used (#217) 6d5bb10
- Fix
catch-error-name
fixer not renaming all references in.catch
case (#258) c2e4a9d - Don't fix
onbeforeunload
unless it's handler does not return anything (#218) db2f192 - Prevent false-positives in the
no-fn-reference-in-iterator
rule (#172) 73e8d5d