ESLint v7.8.0 released
by Kai Cataldo - 31 August 2020We just pushed ESLint v7.8.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Highlights
Support for logical assignment operators and numeric separators has landed in ESLint! To enable linting this syntax, please set ecmaVersion to 2021:
{
    "parserOptions": {
        "ecmaVersion": 2021
    }
}
Enhancements
- 58abd93Update: support logical assignments in code path analysis (refs #13569) (#13612) (Milos Djermanovic)
- db7488eUpdate: support logical assignments in core rules (refs #13569) (#13618) (Milos Djermanovic)
- 88a9adeUpdate: add es2021 environment (refs #13602) (#13603) (Milos Djermanovic)
- 0003dc0Update: support numeric separators (refs #13568) (#13581) (Milos Djermanovic)
- 96b11a0Update: Add exceptionPatterns to id-length rule (fixes #13094) (#13576) (sodam)
- 3439feaUpdate: support numeric-separator in no-loss-of-precision (refs #13568) (#13574) (Anix)
- ed64767Update: add comment to message in no-warning-comments (fixes #12327) (#13522) (Anix)
- 66442a9Update: Add no-magic-numbers 'ignoreDefaultValues' option (#12611) (Dieter Luypaert)
Documentation
- 3729219Docs: Update Step 1 of Development Environment documentation (klkhan)
- 483bf7fDocs: fix examples in object-curly-newline (#13605) (Soobin Bak)
- 1c35d57Docs: Remove stale Keybase 2FA instructions (#13622) (Brandon Mills)
- 4111d21Docs: Fix typo and missing article before noun in docs (#13611) (Patrice Sandhu)
- b487164Docs: add exponentiation operators to operator-assignment documentation (#13577) (Milos Djermanovic)
Dependency Upgrades
Chores
- a320324Chore: Test formatted integers in no-dupe-keys (refs #13568) (#13626) (Brandon Mills)
- 82669faChore: Extract some functionality to eslintrc (refs #13481) (#13613) (Nicholas C. Zakas)
- bdb65ecChore: add 3rd party parsers in BUG_REPORT template (#13606) (YeonJuan)
- f954476Chore: add common 3rd party parsers to issue template (#13596) (Kai Cataldo)
- 2bee6d2Chore: Mark config-related files (refs #13481) (#13597) (Nicholas C. Zakas)