chore(deps): update dependency eslint-plugin-svelte to v3 #921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.34.0->^3.0.0Release Notes
sveltejs/eslint-plugin-svelte (eslint-plugin-svelte)
v3.12.5Compare Source
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 messagesv3.12.4Compare Source
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-propsrulefix: properly support Windows in
valid-style-parserulefix: properly support Windows in
no-unnecessary-conditionrule#1344
03a93f4Thanks @ota-meshi! - fix: preventing infinite loops in multiple rulesv3.12.3Compare Source
Patch Changes
d92dde0Thanks @ota-meshi! - fix(no-top-level-browser-globals): false positives for compound logical expression guardsv3.12.2Compare Source
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.1Compare Source
Patch Changes
27573f4Thanks @marekdedic! - fix: Not reporting mailto: and other unusual schema addresses in no-nmavigation-without-resolve (and its deprecated versions)v3.12.0Compare Source
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 rulev3.11.0Compare Source
Minor Changes
#1151
843730dThanks @marekdedic! - feat: added theprefer-svelte-reactivityrule#1269
a444476Thanks @baseballyama! - feat: support asynchronous sveltePatch Changes
4e33ba4Thanks @GauBen! - feat(valid-prop-names-in-kit-pages): add support for the newparamspage propv3.10.1Compare Source
Patch Changes
a51363fThanks @tbashiyy! - fix(no-unused-class-name): detect duplicated class namesv3.10.0Compare Source
Minor Changes
e94a3beThanks @tbashiyy! - feat(no-unused-class-name): support regex forallowedClassNamesoptionv3.9.3Compare Source
Patch Changes
5db956eThanks @ota-meshi! - fix(no-top-level-browser-globals): false positive for{#if browser}v3.9.2Compare Source
Patch Changes
5df1121Thanks @zachstence! - fix false positives for regular components in valid-compile/custom_element_props_identifierv3.9.1Compare Source
Patch Changes
a3d4224Thanks @baseballyama! - fix(prefer-const): UseadditionalPropertiesinstead ofignoreReadonlyto match the ESLint core rule option name.v3.9.0Compare Source
Minor Changes
6e86e30Thanks @43081j! - Improve performance of ignore comment extraction and add support for comma-separated ignore codesv3.8.2Compare Source
Patch Changes
0681f90Thanks @marekdedic! - fix(consistent-selector-style): Fixed detections of repeated elements such as in {#each}v3.8.1Compare Source
Patch Changes
c938185Thanks @ota-meshi! - fix(no-top-level-browser-globals): false positives for type annotationsv3.8.0Compare Source
Minor Changes
9cffd3bThanks @ota-meshi! - feat: addsvelte/no-top-level-browser-globalsrulev3.7.0Compare Source
Minor Changes
534ad78Thanks @baseballyama! - feat(sort-attributes): support{@​attach}v3.6.0Compare Source
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 IDsPatch Changes
78d0f78Thanks @ota-meshi! - fix(no-unused-svelte-ignore): ignore reactive-component warningsv3.5.1Compare Source
Patch Changes
9126f1fThanks @43081j! - Removed eslint-compat-utils from dependenciesv3.5.0Compare Source
Minor Changes
842757fThanks @baseballyama! - feat(no-unused-props): addallowUnusedNestedPropertiesoptionPatch Changes
7892f4cThanks @baseballyama! - fix(no-unused-props): handle alias props name properlyv3.4.1Compare Source
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.0Compare Source
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 tagsPatch Changes
db9202dThanks @baseballyama! - chore: updatesvelte-eslint-parserto 1.1.1v3.3.3Compare Source
Patch Changes
1233e46Thanks @baseballyama! - fix(no-unused-props): resolve false positives on props with default values or $bindable usagev3.3.2Compare Source
Patch Changes
138380dThanks @baseballyama! - fix: stop reporting child properties inno-unused-propswhen the parent object itself is usedv3.3.1Compare Source
Patch Changes
40806a4Thanks @ota-meshi! - fix(no-useless-mustaches): Wrong auto-fix for quoted mustachesv3.3.0Compare Source
Minor Changes
30c1e5fThanks @baseballyama! - feat: addignorePropertyPatternsproperty and renameignorePatternstoignoreTypePatternsinno-unused-propsrule. TheignorePatternsoption existed only for a few hours and is removed by this PR. Technically, this is a breaking change, but we’ll handle it as a minor release since very few users are likely affected.v3.2.2Compare Source
Patch Changes
1ff148aThanks @baseballyama! - fix: correct detection of externally defined types inno-unused-propsrulev3.2.1Compare Source
Patch Changes
e94b59aThanks @baseballyama! - fix: resolve false positives on nested objects inno-unused-propsrulev3.2.0Compare Source
Minor Changes
#1062
a4d3b29Thanks @baseballyama! - feat: addno-unnecessary-state-wraprule#1061
268a372Thanks @baseballyama! - feat: addno-unused-propsrulev3.1.0Compare Source
Minor Changes
df1647fThanks @baseballyama! - feat: addexcludedRunesoption to theprefer-construlePatch 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 linksv3.0.3Compare Source
Patch Changes
7f756b8Thanks @baseballyama! - fix: align required Node version with ESLintv3.0.2Compare Source
Patch Changes
1358d89Thanks @baseballyama! - fix: handle<script module>invalid-prop-names-in-kit-pagesrulev3.0.1Compare Source
Patch Changes
83da078Thanks @ottomated! - fix: Don't remove mustache'd string literals if they contain curly bracesv3.0.0Compare Source
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-pagesRemoved from recommended config:
svelte/valid-compileThis 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 packageMinor 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 catalogPatch 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 versionv2.46.1Compare Source
Patch Changes
a6b19c0fix: crash with eslint v9.16.0 insvelte/no-inner-declarationsv2.46.0Compare Source
Minor Changes
#881
051925cThanks @ota-meshi! - feat: update svelte to v5.0.0#884
bbc3e07Thanks @renovate! - fix(deps): update dependency svelte-eslint-parser to ^0.43.0v2.45.1Compare Source
Patch Changes
457521aThanks @ota-meshi! - fix: update svelte-eslint-parser to v0.42v2.45.0Compare Source
Minor Changes
#870
b0373beThanks @mikededo! - feat(html-closing-bracket-new-line): addhtml-closing-bracket-new-linerule#868
edf99d3Thanks @mikededo! - feat(no-inspect): addno-inspectrulePatch Changes
cf6c842Thanks @KuSh! - chore: Avoid using deprecated FlatConfig eslint typev2.44.1Compare Source
Patch Changes
580e48aThanks @mikededo! - fix(svelte/indent): ensure proper snippet indentv2.44.0Compare Source
Minor Changes
85053a1Thanks @jrmajor! - feat: add config option for foreign elements insvelte/html-self-closingrulePatch Changes
690c04eThanks @ota-meshi! - fix: update svelte-eslint-parser to 0.41.1v2.43.0Compare Source
Minor Changes
dc7eefcThanks @ota-meshi! - fix(deps): update dependency svelte-eslint-parser to ^0.41.0v2.42.0Compare Source
Minor Changes
88da3cfThanks @renovate! - fix(deps): update dependency svelte-eslint-parser to ^0.40.0v2.41.0Compare Source
Minor Changes
be64d36Thanks @ota-meshi! - fix: broken indentation of if condition insvelte/indentrulePatch Changes
#789
0bc17dfThanks @KuSh! - chore: Use eslint types for exported configs#805
6e4d3edThanks @baseballyama! - fix: updatesvelte-eslint-parserto fix nested{#snippet}#800
580f44fThanks @ota-meshi! - feat: add name to flat configs.[
v2.40.0](https://Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.