Published under: Announcements
2 min read
Highlights
- The
padding-line-between-statements
rule has new statement types: multiline-const, multiline-let, multiline-var, singleline-const, singleline-let, and singleline-var. - The
require-jsdoc
andvalid-jsdoc
rules have been deprecated, following our previously announced decision to end support for JSDoc in ESLint.
Enhancements
4b0f517
Update: single- and multiline const, let, var statements (fixes #10721) (#10919) (Tom Panier)9666aba
Update: space-infix-ops reports violating operator (#10934) (Bence Dányi)4490d7a
Update: deprecate valid-jsdoc and require-jsdoc (#11145) (Teddy Katz)62fd2b9
Update: Amend keyword-spacing to validatedefault
keywords (#11097) (Bin Ury)3025cdd
Update: don’t indent leading semi in line after import (fixes #11082) (#11085) (Pig Fang)
Bug Fixes
c14f717
Fix: Update all-files-ignored.txt message to be less confusing (#11075) (z.ky)3bf0332
Fix: fix the fixer of lone comma with comments (fixes #10632) (#11154) (Pig Fang)c0a80d0
Fix: Do not strip underscores in camelcase allow (fixes #11000) (#11001) (Luke Page)54dfa60
Fix: Typo in function comment parameters (#11111) (Pierre Maoui)
Documentation
9f3573d
Docs: Clarify the CLIEngine options (#10995) (Ed Morley)60dfb6c
Docs: Update issue templates (#11163) (Teddy Katz)958987a
Docs: Fix link to rule no-useless-rename (#11165) (Brian)c6471ed
Docs: fix typo in issue-templates/new-rule (#11149) (薛定谔的猫)a675c89
Docs: (Grammar) “the setup” -> “to set up” (#11117) (MarvinJWendt)cf296bd
Docs: switch incorrect example with correct one (#11107) (Romain Le Quellec)d2d500c
Docs: no-console#When-Not-To-Use provides incorrect rule snippet (#11093) (Lawrence Chou)
Dependency Upgrades
f850726
Upgrade: Espree v5.0.0 (#11161) (Kai Cataldo)5da378a
Upgrade: eslint-release@1.2.0 (#11073) (Teddy Katz)
Build Related
Chores
dd7b0cb
Chore: refactor template literal feature detection in ‘quotes’ rule (#11125) (Bryan)4bcdfd0
Chore: fix some jsdoc-related issues (#11148) (薛定谔的猫)5d451c5
Chore: Remove dependency on is-resolvable (#11128) (Matt Grande)bc50dc7
Chore: Move ignored-paths, report-translator to lib/util (refs #10559) (#11116) (Kevin Partington)f394a1d
Chore: Extract config comment parsing (#11091) (Nicholas C. Zakas)e18c827
Chore: refactor linter#parseBooleanConfig to improve readability (#11074) (薛定谔的猫)