chore(deps): update dependency eslint-plugin-svelte to v3
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| eslint-plugin-svelte (source) | ^2.39.0 -> ^3.0.0 |
Release Notes
sveltejs/eslint-plugin-svelte (eslint-plugin-svelte)
v3.13.1
Patch Changes
-
#1437
89d030dThanks @ota-meshi! - fix(svelte/indent): crash when using ts import type -
#1440
a87e40bThanks @baseballyama! - fix(prefer-destructured-store-props): handle runes properly -
#1438
817b137Thanks @baseballyama! - fix: Supportexperimental.asynccompiler option
v3.13.0
Minor Changes
-
#1323
074af20Thanks @marekdedic! - feat(no-navigation-without-resolve): checking link shorthand attributes
Patch Changes
-
#1388
005e9fdThanks @marekdedic! - fix(no-navigation-without-resolve): allowing undefined and null in link hrefs
v3.12.5
Patch Changes
-
#1403
e4d788dThanks @baseballyama! - deps: updatesvelte-eslint-parserto 1.4.0 (It supports$state.eager) -
#1365
57ccf95Thanks @marekdedic! - fix(no-navigation-without-resolve): Detecting asset() function as well -
#1378
5ba5c3eThanks @baseballyama! - fix(no-unused-props): validate spread operator properly -
#1377
27cf677Thanks @baseballyama! - fix(no-navigation-without-resolve): improve error messages
v3.12.4
Patch Changes
-
#1322
1e06290Thanks @marekdedic! - fix(no-navigation-without-resolve): properly detecting absolute and fragment URLs in variables -
#1355
d8df1e8Thanks @InkedCat! - fix: properly support Windows inno-unused-propsrule fix: properly support Windows invalid-style-parserule fix: properly support Windows inno-unnecessary-conditionrule -
#1344
03a93f4Thanks @ota-meshi! - fix: preventing infinite loops in multiple rules
v3.12.3
Patch Changes
-
#1305
d92dde0Thanks @ota-meshi! - fix(no-top-level-browser-globals): false positives for compound logical expression guards
v3.12.2
Patch Changes
-
#1299
5c7cba3Thanks @marekdedic! - feat: disabling more rules in runes mode -
#1299
5c7cba3Thanks @marekdedic! - feat: restricting SvelteKit rules to SvelteKit -
#1306
7cb3660Thanks @ota-meshi! - fix(no-unused-props): false positives forComponentProps<any>
v3.12.1
Patch Changes
-
#1313
27573f4Thanks @marekdedic! - fix: Not reporting mailto: and other unusual schema addresses in no-nmavigation-without-resolve (and its deprecated versions)
v3.12.0
Minor Changes
-
#1308
abbcfddThanks @marekdedic! - feat(no-navigation-without-resolve): added to recommended rule set -
#1289
e2e791fThanks @marekdedic! - feat: added the no-navigation-without-resolve rule -
#1289
e2e791fThanks @marekdedic! - chore: deprecated the no-navigation-without-base rule
v3.11.0
Minor Changes
-
#1151
843730dThanks @marekdedic! - feat: added theprefer-svelte-reactivityrule -
#1269
a444476Thanks @baseballyama! - feat: support asynchronous svelte
Patch Changes
-
#1268
4e33ba4Thanks @GauBen! - feat(valid-prop-names-in-kit-pages): add support for the newparamspage prop
v3.10.1
Patch Changes
-
#1260
a51363fThanks @tbashiyy! - fix(no-unused-class-name): detect duplicated class names
v3.10.0
Minor Changes
-
#1257
e94a3beThanks @tbashiyy! - feat(no-unused-class-name): support regex forallowedClassNamesoption
v3.9.3
Patch Changes
-
#1252
5db956eThanks @ota-meshi! - fix(no-top-level-browser-globals): false positive for{#if browser}
v3.9.2
Patch Changes
-
#1243
5df1121Thanks @zachstence! - fix false positives for regular components in valid-compile/custom_element_props_identifier
v3.9.1
Patch Changes
-
#1239
a3d4224Thanks @baseballyama! - fix(prefer-const): UseadditionalPropertiesinstead ofignoreReadonlyto match the ESLint core rule option name.
v3.9.0
Minor Changes
-
#1235
6e86e30Thanks @43081j! - Improve performance of ignore comment extraction and add support for comma-separated ignore codes
v3.8.2
Patch Changes
-
#1231
0681f90Thanks @marekdedic! - fix(consistent-selector-style): Fixed detections of repeated elements such as in {#each}
v3.8.1
Patch Changes
-
#1227
c938185Thanks @ota-meshi! - fix(no-top-level-browser-globals): false positives for type annotations
v3.8.0
Minor Changes
-
#1210
9cffd3bThanks @ota-meshi! - feat: addsvelte/no-top-level-browser-globalsrule
v3.7.0
Minor Changes
-
#1221
534ad78Thanks @baseballyama! - feat(sort-attributes): support{@​attach}
v3.6.0
Minor Changes
-
#1170
3ddbd83Thanks @baseballyama! - feat: addprefer-writable-derivedrule -
#1069
73f23aeThanks @marekdedic! - feat: added therequire-event-prefixrule -
#1197
e9aec7fThanks @43081j! - Addedno-add-event-listenerrule to disallow usages ofaddEventListener -
#1148
87c74feThanks @marekdedic! - feat(consistent-selector-style): added support for dynamic classes and IDs
Patch Changes
-
#1208
78d0f78Thanks @ota-meshi! - fix(no-unused-svelte-ignore): ignore reactive-component warnings
v3.5.1
Patch Changes
v3.5.0
Minor Changes
-
#1171
842757fThanks @baseballyama! - feat(no-unused-props): addallowUnusedNestedPropertiesoption
Patch Changes
-
#1178
7892f4cThanks @baseballyama! - fix(no-unused-props): handle alias props name properly
v3.4.1
Patch Changes
-
#1173
8e53e58Thanks @43081j! - chore: usecontext.sourceCodedirectly rather than a compatibility helper. -
#1177
ec22fb4Thanks @43081j! - test: use ESLint and Linter directly from eslint in tests -
#1174
b696ef3Thanks @43081j! - chore: usecontext.filenameandcontext.physicalFilenameinstead of compat functions. -
#1176
bafbf5fThanks @43081j! - chore: switch tocontext.cwdrather than using a compat helper.
v3.4.0
Minor Changes
-
#1165
2b7e164Thanks @43081j! - Adds a suggestion to therequire-store-callbacks-use-set-paramrule to automatically rename or add function parameters. -
#1163
d9b8604Thanks @43081j! - Adds a suggestion to thederived-has-same-inputs-outputsrule which renames the outputs. -
#1164
29b1315Thanks @43081j! - Added a suggestion forno-at-debug-tagsrule which removes the tags
Patch Changes
-
#1167
db9202dThanks @baseballyama! - chore: updatesvelte-eslint-parserto 1.1.1
v3.3.3
Patch Changes
-
#1146
1233e46Thanks @baseballyama! - fix(no-unused-props): resolve false positives on props with default values or $bindable usage
v3.3.2
Patch Changes
-
#1143
138380dThanks @baseballyama! - fix: stop reporting child properties inno-unused-propswhen the parent object itself is used
v3.3.1
Patch Changes
-
#1140
40806a4Thanks @ota-meshi! - fix(no-useless-mustaches): Wrong auto-fix for quoted mustaches
v3.3.0
Minor Changes
-
#1132
30c1e5fThanks @baseballyama! - feat: addignorePropertyPatternsproperty and renameignorePatternstoignoreTypePatternsinno-unused-propsrule. TheignorePatternsoption existed only for a few hours and is removed by this MR. Technically, this is a breaking change, but we’ll handle it as a minor release since very few users are likely affected.
v3.2.2
Patch Changes
-
#1135
1ff148aThanks @baseballyama! - fix: correct detection of externally defined types inno-unused-propsrule
v3.2.1
Patch Changes
-
#1128
e94b59aThanks @baseballyama! - fix: resolve false positives on nested objects inno-unused-propsrule
v3.2.0
Minor Changes
-
#1062
a4d3b29Thanks @baseballyama! - feat: addno-unnecessary-state-wraprule -
#1061
268a372Thanks @baseballyama! - feat: addno-unused-propsrule
v3.1.0
Minor Changes
-
#1064
df1647fThanks @baseballyama! - feat: addexcludedRunesoption to theprefer-construle
Patch Changes
-
#1126
9b76b46Thanks @baseballyama! - fix: check property key instead of value invalid-prop-names-in-kit-pagesrule -
#1125
0a03362Thanks @ota-meshi! - fix: support windows path delimiter -
#1108
976e4f0Thanks @marekdedic! - fix(consistent-selector-style): not reporting class selectors used in class directives -
#1107
3b01537Thanks @marekdedic! - fix(no-navigation-without-base): ignoring fragment links
v3.0.3
Patch Changes
-
#1115
7f756b8Thanks @baseballyama! - fix: align required Node version with ESLint
v3.0.2
Patch Changes
-
#1100
1358d89Thanks @baseballyama! - fix: handle<script module>invalid-prop-names-in-kit-pagesrule
v3.0.1
Patch Changes
-
#1091
83da078Thanks @ottomated! - fix: Don't remove mustache'd string literals if they contain curly braces
v3.0.0
Major Changes
-
#937
729394eThanks @ota-meshi! - feat!: drop support for old eslint -
#1033
3bfcc31Thanks @baseballyama! - Enabled in recommended config:svelte/infinite-reactive-loopsvelte/no-dom-manipulatingsvelte/no-dupe-on-directivessvelte/no-dupe-use-directivessvelte/no-export-load-in-svelte-module-in-kit-pagessvelte/no-immutable-reactive-statementssvelte/no-inspectsvelte/no-raw-special-elementssvelte/no-reactive-functionssvelte/no-reactive-literalssvelte/no-reactive-reassignsvelte/no-store-asyncsvelte/no-svelte-internalsvelte/no-useless-children-snippetsvelte/no-useless-mustachessvelte/require-each-keysvelte/require-event-dispatcher-typessvelte/require-store-reactive-accesssvelte/require-stores-initsvelte/valid-each-keysvelte/valid-prop-names-in-kit-pages
Removed from recommended config:
svelte/valid-compile
This update introduces breaking changes due to newly enabled rules.
-
#1086
1c679b5Thanks @baseballyama! - breaking: removerequire-stores-initfrom recommended rules -
#1043
778427eThanks @ota-meshi! - feat: add*.svelte.{js,ts}config to base config -
#900
4759b47Thanks @marekdedic! - breaking: deprecated the no-goto-without-base rule -
#885
ce2ffadThanks @ota-meshi! - feat!: drop support for old node versions (<18, 19, 21) -
#1011
7596287Thanks @baseballyama! - breaking: deprecate thesvelte/no-dynamic-slot-namerule -
#930
eae1b4fThanks @ota-meshi! - feat!: upgrade svelte-eslint-parser to v1 -
#982
04fc429Thanks @baseballyama! - feat!: Updated thehtml-self-closingrule to follow Svelte5 -
#932
b136ab4Thanks @ota-meshi! - feat!: change the plugin to an ESM-only package
Minor Changes
-
#980
0b28198Thanks @baseballyama! - feat: Implement util to conditionally run lint based on Svelte version and SvelteKit routes etc -
#1013
0ef0f99Thanks @baseballyama! - feat: add Svelte 5 support tono-not-function-handler -
#900
4759b47Thanks @marekdedic! - feat: added the no-navigation-without-base rule -
#925
faf90efThanks @marekdedic! - feat: added theconsistent-selector-stylerule -
#945
19f682bThanks @baseballyama! - feat: Support<svelte:boundary> -
#844
2bbd049Thanks @Winter! - feat: Added suggestion to theblock-langrule. -
#984
35d80a5Thanks @baseballyama! - feat: supportwarningFilterinvalid-compilerule -
#933
71eca84Thanks @mikededo! - Addprefer-construle -
#918
5da98c9Thanks @mikededo! - Added newno-deprecated-raw-special-elementsrule -
#922
f4a0fa7Thanks @marekdedic! - feat: added the no-useless-children-snippet rule -
#836
3fa90aaThanks @renovate! - feat: support for typescript-eslint v8 tosvelte/indentrule -
#963
2c551b2Thanks @baseballyama! - feat: support Svelte5 ofvalid-prop-names-in-kit-pagesrule -
#1054
c587629Thanks @marekdedic! - feat: added the valid-style-parse rule -
#1085
a0588efThanks @baseballyama! - chore: updatesvelte-eslint-parserto v1 -
#1015
8369eafThanks @mikededo! - fix!: renameno-deprecated-raw-special-elementstono-raw-special-elements -
#911
452ffedThanks @marekdedic! - feat(no-inline-styles): allowing transitions by default -
#1063
d39c90cThanks @baseballyama! - feat: detect version information from node_modules when not specified in package.json, like pnpm’s catalog
Patch Changes
-
#961
117e60dThanks @baseballyama! - fix: support each blocks without an item -
#1009
a003664Thanks @baseballyama! - chore: upgradesvelte-eslint-parserto1.0.0-next.8 -
#1016
91999e3Thanks @baseballyama! - chore: change the rule category ofvalid-prop-names-in-kit-pagestoSvelteKit -
#993
b97a13eThanks @baseballyama! - chore: add:exitfor each node listener -
#1048
513806cThanks @baseballyama! - fix: allowchildreninvalid-prop-names-in-kit-pagesrule -
#1012
763cf7aThanks @baseballyama! - chore: change the rule category ofno-export-load-in-svelte-module-in-kit-pagestoSvelteKit -
#1021
6557c69Thanks @baseballyama! - chore: updatesvelte-eslint-parserto1.0.0-next.10 -
#956
157ee1fThanks @baseballyama! - chore: updatesvelte-eslint-parserto v1.0.0-next.4 -
#965
47760adThanks @marekdedic! - chore: using svelte-eslint-parser for style selector parsing -
#990
12049c0Thanks @baseballyama! - fix: ignorecss_unused_selectorcompile error if<style>tag hasglobalattribute -
#1035
f16729fThanks @baseballyama! - chore: runrequire-event-dispatcher-typesrule on Svelte 3/4 only -
#1040
ac7115cThanks @baseballyama! - fix: account for \n and \r inTemplateLiteralhandling for theno-useless-mustachesrule -
#1020
eae0e2eThanks @baseballyama! - chore: updatesvelte-eslint-parserto1.0.0-next.9 -
#1017
806d72aThanks @baseballyama! - chore: do not runno-reactive-functionsrule on Svelte 5 with runes -
#1014
74373ecThanks @baseballyama! - chore: do not runno-reactive-reassignrule on Svelte 5 with runes -
#1026
1bed311Thanks @baseballyama! - chore: updatesvelte-eslint-parsertov1.0.0-next.12 -
#941
fce2f74Thanks @ota-meshi! - fix: crash with eslint v9.16.0 insvelte/no-inner-declarations -
#1018
5bdc906Thanks @baseballyama! - chore: run theno-inspectrule only in Svelte 5’s runes mode -
#1006
5fd91baThanks @baseballyama! - chore: do not runinfinite-reactive-looprule on Svelte 5 with runes -
#1031
e50d2d4Thanks @baseballyama! - chore: do not runno-reactive-literalsrule on Svelte 5 with runes -
#1032
722b36cThanks @baseballyama! - chore: runno-useless-children-snippetrule on Svelte 5 only -
#1007
8e9199aThanks @baseballyama! - fix: update method for extracting major version
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.