Published under: Announcements
2 min read
Highlights
- The no-new-object rule has been deprecated in favor of the new no-object-constructor rule.
- The array-callback-return rule has a new option
allowVoid
.
Features
27d5a9e
feat: add suggestions to array-callback-return (#17590) (Tanuj Kanti)f9082ff
feat: flat-rule-tester make sure default config always matches (#17585) (fnx)83914ad
feat: Implement SourceCode#applyInlineConfig() (#17351) (Nicholas C. Zakas)22a5582
feat: add ruleno-object-constructor
, deprecateno-new-object
(#17576) (Francesco Trotta)85a3d9e
feat: allowVoid option in array-callback-return (#17564) (Tanuj Kanti)
Bug Fixes
cc4d26b
fix: Ensure deprecated context.parserServices warns (#17593) (Nicholas C. Zakas)1ea4cfb
fix: Ensure all RuleTester tests all deprecated context methods (#17587) (Nicholas C. Zakas)aa1b657
fix: wrong suggestion and message inno-misleading-character-class
(#17571) (Yosuke Ota)
Documentation
1800537
docs: Fix and standardize JSX code examples (#17591) (Francesco Trotta)48a44a7
docs: Add correct/incorrect tags toprefer-arrow-callback
(#17589) (Francesco Trotta)20893d4
docs: fix incorrect tag’s place (#17575) (Tanuj Kanti)bd7a71f
docs: Update README (GitHub Actions Bot)