ESLint v8.5.0 released
by Milos Djermanovic - 17 December 2021We just pushed ESLint v8.5.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
- One new rule has been added: prefer-object-has-own.
- The prefer-regex-literals rule now provides suggestions.
Features
94e77a6feat: Suggestions support forprefer-regex-literals(#15077) (Yash Singh)eafaf52feat: addprefer-object-has-ownrule (#15346) (Nitin Kumar)
Bug Fixes
7d832d4fix: improveprefer-templatefixer (#15230) (Nitin Kumar)981fb48fix: do not report global references inid-matchrule (#15420) (Nitin Kumar)f13d4a6fix: improve autofix ofprefer-object-has-own(#15419) (Nitin Kumar)f4559a0fix: add helpful message when test case has non-string code/name (#15425) (Bryan Mishkin)
Documentation
314c84cdocs: add an incorrect code example in for-direction (#15434) (Holger Jeromin)3928175docs: add destructuring examples forcomputed-property-spacing(#15423) (Nitin Kumar)a53e59edocs: add more examples forarray-element-newlinerule (#15427) (Nitin Kumar)74cf0a0docs: update CLA info (#15370) (Nitin Kumar)e84195edocs: fix heading level for an option inclass-methods-use-thisrule (#15399) (Takuya Fukuju)
Chores
225f211test: add destructuring test cases forcomputed-property-spacing(#15424) (Nitin Kumar)f2c7ba6ci: use node v16 formacOSandwindowsjobs (#15418) (Nitin Kumar)