Breaking
- Drop
better-regexrule (#2968) 89dc5dc- It's too broken and it's not feasible to fix it.
- Rename
ignore*boolean options tocheck*for consistency (#3045) 8acfea1expiring-todo-comments:ignoreDates→checkDatesexpiring-todo-comments:ignoreDatesOnPullRequests→checkDatesOnPullRequestsprefer-export-from:ignoreUsedVariables→checkUsedVariables
- Rename
prefer-dom-node-datasetrule todom-node-dataset3f51bc6 expiring-todo-comments: MakecheckDatesoptiontrueby default (#3044) 5e31bbaprefer-global-this: Remove exemption for WebWorker-specific APIs (#2926) add2138
New rules
better-dom-traversing(#3052) df50ceeconsistent-compound-words(#3061) fcacf46consistent-json-file-read(#2987) d9d3862no-array-fill-with-reference-type(#3039) 47356fano-array-from-fill(#3007) 57324cbno-blob-to-file(#2993) 7302833no-canvas-to-image(#2985) b4a5af1no-confusing-array-splice(#2978) 01ae1d2no-duplicate-set-values(#2995) f29a382no-exports-in-scripts(#3015) 4cbb529no-incorrect-query-selector(#3059) 150b5f1no-invalid-file-input-accept(#3047) 2c8d77bno-late-current-target-access(#2974) db86086no-manually-wrapped-comments(#3036) 87fe35bno-this-outside-of-class(#3030) 21fc369no-unnecessary-nested-ternary(#3023) cc1ced2no-unused-array-method-return(#2940) a7d8a6cprefer-array-last-methods(#3029) 108d7a1prefer-get-or-insert-computed(#2979) f48f380prefer-https(#3014) 838695eprefer-includes-over-repeated-comparisons(#3056) 3c5880eprefer-iterator-concat(#2998) 5c52d0cprefer-iterator-to-array-at-end(#3041) 6b341b6prefer-math-abs(#2996) 7df5b48prefer-queue-microtask(#3050) 3fc8b03prefer-split-limit(#3019) 6308c1dprefer-string-match-all(#3057) c9b5ec8prefer-string-pad-start-end(#3002) 3736c66prefer-string-repeat(#2988) e52c455require-css-escape(#3037) 55ff804require-passive-events(#3004) 4c17568try-complexity(#3055) e7a1999
Improvements
prefer-dom-node-dataset: AddpreferAttributesoption (#2918) 3f51bc6consistent-function-scoping: Ignore functions in Jest mock factories (#3032) 8711c4acustom-error-definition: Handle custom error message accessors (#2980) 1b82067expiring-todo-comments: Add CSS support (#2972) 4fd8dd5explicit-length-check: Ignore nullable property guards (#3006) 8b96ae0filename-case: Check directories too (#3038) a85e9e8filename-case: Allow$-prefixed filenames (#3012) b9cbbedimport-style: Warn about misuse when all styles are set tofalse(#3043) f446f98no-array-callback-reference: Addignoreoption (#3042) 8d33cafno-array-callback-reference: Use singular callback parameter names (#3035) ced1210no-array-for-each: Ignorestrict-callbag-basicsnamespaces (#3010) d3a643eno-array-reduce: Add autofix (#3058) b0248a6no-empty-file: AddallowCommentsoption (#2984) 3908ccdno-null: AddcheckArgumentsoption (#3049) ff658c5no-useless-spread: Report spreading into collection constructors (#3025) 0dbd8d7no-useless-undefined: IgnorePromise.resolve(undefined)in TS (#3031) 3310c37numeric-separators-style: AddfractionGroupLengthoption (#3051) 0074463prefer-array-some: Detect assigned find results (#3028) f34565dprefer-at: Ignorearguments(#2976) 24e6575prefer-query-selector: AddallowWithVariablesoption (#2953) 2d51e30prefer-set-has: Allow compatible extra usages (#3060) 49535b0prefer-set-has: AddminimumItemsoption (#3024) cbf5e88prefer-set-has: Improve TypeScript autofix (#2983) 63f87d9prefer-single-call: Addunshift()support (#3034) b207989prefer-string-raw: Forbid unnecessaryString.raw(#2695) 1fdace0prefer-string-replace-all: EnforcereplaceAlloversplit().join()(#3048) 9ad4657prefer-string-slice: Improve autofix (#3021) 3407bf7prefer-top-level-await: Ignore variable initializers (#3020) 53cfc3cprevent-abbreviations: Add suggestions for ambiguous replacements (#3033) c0d638fprevent-abbreviations: Avoid unsafe parameter autofixes (#3054) fc18bd9string-content: AddcaseSensitiveoption (#3053) afbc462string-content: Addselectorsoption (#3026) 82a1962- Improve rule performance (#2977) c9153ca
Fixes
consistent-destructuring: Fix type guards (#2994) 20d3107explicit-length-check: Fix false positive (#2989) 04f6883no-array-callback-reference: Fix local callbacks (#3027) 9212b9bno-lonely-if: Fix fixer overlap with whole-range fixes 0e023e3no-unnecessary-polyfills: Fix false positives for multi-feature imports (#2941) 4523856prefer-at: Avoid reporting object index access (#2999) f0509daprefer-dom-node-append: Fix append API label (#3018) aa1e02dprefer-dom-node-remove: Improve fixer (#2991) 0c4bac4prefer-keyboard-event-key: Handle more cases (#2992) 4bfd377prefer-regexp-test: Fix length checks (#2986) 16387c8prefer-regexp-test: Ignore RTK action matchers (#3003) 5bc965dprefer-spread: Fix string false positives (#3011) 7c630d1prefer-top-level-await: Fix under@typescript-eslint/parser(#2948) 93f33ebprefer-top-level-await: Ignore Zod schema catch fallback (#3005) 889da5arequire-module-specifiers: Allow bareexport {}as a module marker (#3001) c21bf37template-indent: Fix root indentation detection (#2981) f0e4fadthrow-new-error: Fix decorator false positive (#3000) 3ea18cc- Fix tagged template escape rules (#2982) 5ed8490