
Highlights
- There are several breaking changes in 5.0.0. We’ve created a migration guide to explain the breaking changes and describe how to upgrade.
- Three new rules have been added:
- The
CLIEngine.executeOnFilesAPI now has aglobInputPathsoption. - The
one-varrule is now autofixable. - The
array-element-newlinerule now has aconsistentoption. - The
camelcaserule now has anignoreDestructuringoption. - The
valid-jsdocrule now has arequireParamTypeoption. - The
func-name-matchingrule now has aconsiderPropertyDescriptoroption.
Changes since v5.0.0-rc.0:
Features
- 0feedfd New: Added max-lines-per-function rule (fixes #9842) (#10188) (peteward44)
Enhancements
- 7a7580b Update: Add considerPropertyDescriptor option to func-name-matching (#9078) (Dieter Luypaert)
Bug Fixes
- f93d6ff Fix: do not fail on unknown operators from custom parsers (fixes #10475) (#10476) (Rubén Norte)
- 05343fd Fix: add parens for yield statement (fixes #10432) (#10468) (Pig Fang)
- d477c5e Fix: check destructuring for “no-shadow-restricted-names” (fixes #10467) (#10470) (Pig Fang)
- e0a0418 Fix: crash on optional catch binding (#10429) (Toru Nagashima)
Documentation
- 077358b Docs: no-process-exit: recommend process.exitCode (#10478) (Andres Kalle)
- de4dba9 Docs: styling team members (#10460) (薛定谔的猫)
- 5e453a3 Docs: display team members in tables. (#10433) (薛定谔的猫)
- b1895eb Docs: Restore intentional spelling mistake (#10459) (Wilfred Hughes)

