New rules
consistent-template-literal-escape(#2866) 55444b4no-useless-iterator-to-array(#2872) 641b88cprefer-simple-condition-first(#2902) b0279ddswitch-case-break-position(#2910) 8d5d487
Improvements
- Support TypeScript type assertions in many rules (#2909) 6b41299
text-encoding-identifier-case: Support template literals (#2905) 9448c8cprefer-math-min-max: Ignore Date objects (#2903) cd53d9eprevent-abbreviations: Handle exported TS interfaces and enums (#2898) 6dc01d2no-array-callback-reference: Skip TypeScript type predicate callbacks (#2897) 02364c8prefer-spread: Skip autofix when it would drop comments (#2896) 6ff1467no-useless-undefined: Flagreturn undefinedfor explicit undefined return types (#2876) 41fc9c2no-unnecessary-polyfills: Improve performance (#2874) c88bf29expiring-todo-comments: AddignoreDatesoption (#2892) 95a288bprevent-abbreviations: Recognize jQuery 42f5364prefer-object-from-entries: Avoid auto-fixing generic reduce (#2878) bea9b20
Fixes
expiring-todo-comments: Fix partial version comparison (#2895) 51390e9consistent-destructuring: Fix false positive for nested rest destructuring (#2894) 1cddfb5consistent-destructuring: Fix false positive after reassignment (#2893) c7f57d0consistent-function-scoping: Fix TypeScript false positives for lexicalthis(#2885) a383657custom-error-definition: Fix class field autofix (#2887) 1359726explicit-length-check: Fix||fallback false positives (#2889) 84246ecexplicit-length-check: Avoid unsafe autofix in negated comparisons (#2883) 73b043bimport-style: Fix false positive for type-only import (#2891) aea9954no-unused-properties: Fix for JSX member access (#2890) 0ff698bbetter-regex: Fix empty-pattern autofix (#2881) c201987prefer-global-this: Fix for window-specificinchecks (#2879) 6bf7537prefer-native-coercion-functions: Fix false positive for TS type predicates (#2888) 4c4b565prefer-set-has: Fix string false positives (#2882) c230c22prefer-top-level-await: Fix false positive withPromise.all(#2884) 67faa7a