Published under: Release Notes
2 min read
Highlights
- One new rule has been added: prefer-object-has-own.
- The prefer-regex-literals rule now provides suggestions.
Features
94e77a6
feat: Suggestions support forprefer-regex-literals
(#15077) (Yash Singh)eafaf52
feat: addprefer-object-has-own
rule (#15346) (Nitin Kumar)
Bug Fixes
7d832d4
fix: improveprefer-template
fixer (#15230) (Nitin Kumar)981fb48
fix: do not report global references inid-match
rule (#15420) (Nitin Kumar)f13d4a6
fix: improve autofix ofprefer-object-has-own
(#15419) (Nitin Kumar)f4559a0
fix: add helpful message when test case has non-string code/name (#15425) (Bryan Mishkin)
Documentation
314c84c
docs: add an incorrect code example in for-direction (#15434) (Holger Jeromin)3928175
docs: add destructuring examples forcomputed-property-spacing
(#15423) (Nitin Kumar)a53e59e
docs: add more examples forarray-element-newline
rule (#15427) (Nitin Kumar)74cf0a0
docs: update CLA info (#15370) (Nitin Kumar)e84195e
docs: fix heading level for an option inclass-methods-use-this
rule (#15399) (Takuya Fukuju)
Chores
225f211
test: add destructuring test cases forcomputed-property-spacing
(#15424) (Nitin Kumar)f2c7ba6
ci: use node v16 formacOS
andwindows
jobs (#15418) (Nitin Kumar)