Patch Changes
-
#1665
4b06717Thanks @officialasishkumar! - fix(prefer-derived-over-derived-by): keep type annotations, comments and sequence expressions in the autofix, and skip it when it would change the code -
#1414
fbae40aThanks @ai! - fix(require-event-prefix): ignore function props that return a value (e.g.getHref: (item: T) => string). This also changes two cases:() => Promise<void>is now ignored unlesscheckAsyncFunctionsis enabled, and functions that return a Promise of a value (e.g.Promise<string>) are now ignored even whencheckAsyncFunctionsis enabled.Only known no-value returns are checked;
any,unknown,never, and unresolved generic returns are ignored. In generic components, only explicit no-value annotations and their Promise wrappers are checked to avoid false positives from parser substitutions. -
#1666
d5ad32aThanks @officialasishkumar! - fix: recognize<script module>inno-export-load-in-svelte-module-in-kit-pagesandprefer-destructured-store-props