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
58abd93
Update: support logical assignments in code path analysis (refs #13569) (#13612) (Milos Djermanovic)db7488e
Update: support logical assignments in core rules (refs #13569) (#13618) (Milos Djermanovic)88a9ade
Update: add es2021 environment (refs #13602) (#13603) (Milos Djermanovic)0003dc0
Update: support numeric separators (refs #13568) (#13581) (Milos Djermanovic)96b11a0
Update: Add exceptionPatterns to id-length rule (fixes #13094) (#13576) (sodam)3439fea
Update: support numeric-separator in no-loss-of-precision (refs #13568) (#13574) (Anix)ed64767
Update: add comment to message in no-warning-comments (fixes #12327) (#13522) (Anix)66442a9
Update: Add no-magic-numbers ‘ignoreDefaultValues’ option (#12611) (Dieter Luypaert)
Documentation
3729219
Docs: Update Step 1 of Development Environment documentation (klkhan)483bf7f
Docs: fix examples in object-curly-newline (#13605) (Soobin Bak)1c35d57
Docs: Remove stale Keybase 2FA instructions (#13622) (Brandon Mills)4111d21
Docs: Fix typo and missing article before noun in docs (#13611) (Patrice Sandhu)b487164
Docs: add exponentiation operators to operator-assignment documentation (#13577) (Milos Djermanovic)
Dependency Upgrades
Chores
a320324
Chore: Test formatted integers in no-dupe-keys (refs #13568) (#13626) (Brandon Mills)82669fa
Chore: Extract some functionality to eslintrc (refs #13481) (#13613) (Nicholas C. Zakas)bdb65ec
Chore: add 3rd party parsers in BUG_REPORT template (#13606) (YeonJuan)f954476
Chore: add common 3rd party parsers to issue template (#13596) (Kai Cataldo)2bee6d2
Chore: Mark config-related files (refs #13481) (#13597) (Nicholas C. Zakas)