Published under: Release Notes
2 min read
- The one-var rule now has a
consecutive
option. - Core rules have been updated to support the new RegExp features introduced in ES2018 (when using the appropriate parser options).
Enhancements
- 55a1593 Update: consecutive option for one-var (fixes #4680) (#9994) (薛定谔的猫)
- 2e68be6 Update: give a node at least the indentation of its parent (fixes #9995) (#10054) (Teddy Katz)
- 72ca5b3 Update: Correctly indent JSXText with trailing linebreaks (fixes #9878) (#10055) (Teddy Katz)
Bug Fixes
- 8d3814e Fix: false positive about ES2018 RegExp enhancements (fixes #9893) (#10062) (Toru Nagashima)
Documentation
- 935f4e4 Docs: Clarify default ignoring of node_modules (#10092) (Matijs Brinkhuis)
- 72ed3db Docs: Wrap
Buffer()
in backticks inno-buffer-constructor
rule description (#10084) (Stephen Edgar) - 3aded2f Docs: Fix lodash typos, make spacing consistent (#10073) (Josh Smith)
- 66a1e9a Docs: fix possible typo (#10060) (Vse Mozhet Byt)
- 2a4c838 Docs: Update ECMAScript versions in FAQ (#10047) (alberto)
Chores
- e33bb64 Chore: enable no-param-reassign on ESLint codebase (#10065) (Teddy Katz)