Releases: sveltejs/eslint-plugin-svelte
eslint-plugin-svelte@3.0.2
Patch Changes
- #1100
1358d89
Thanks @baseballyama! - fix: handle<script module>
invalid-prop-names-in-kit-pages
rule
eslint-plugin-svelte@3.0.1
Patch Changes
- #1091
83da078
Thanks @ottomated! - fix: Don't remove mustache'd string literals if they contain curly braces
eslint-plugin-svelte@3.0.0
Major Changes
-
We have changed versioning policy, please see the README for details.
-
#937
729394e
Thanks @ota-meshi! - feat!: drop support for old eslint -
#1033
3bfcc31
Thanks @baseballyama! - Enabled in recommended config:svelte/infinite-reactive-loop
svelte/no-dom-manipulating
svelte/no-dupe-on-directives
svelte/no-dupe-use-directives
svelte/no-export-load-in-svelte-module-in-kit-pages
svelte/no-immutable-reactive-statements
svelte/no-inspect
svelte/no-raw-special-elements
svelte/no-reactive-functions
svelte/no-reactive-literals
svelte/no-reactive-reassign
svelte/no-store-async
svelte/no-svelte-internal
svelte/no-useless-children-snippet
svelte/no-useless-mustaches
svelte/require-each-key
svelte/require-event-dispatcher-types
svelte/require-store-reactive-access
svelte/require-stores-init
svelte/valid-each-key
svelte/valid-prop-names-in-kit-pages
Removed from recommended config:
svelte/valid-compile
This update introduces breaking changes due to newly enabled rules.
-
#1086
1c679b5
Thanks @baseballyama! - breaking: removerequire-stores-init
from recommended rules -
#1043
778427e
Thanks @ota-meshi! - feat: add*.svelte.{js,ts}
config to base config -
#900
4759b47
Thanks @marekdedic! - breaking: deprecated the no-goto-without-base rule -
#885
ce2ffad
Thanks @ota-meshi! - feat!: drop support for old node versions (<18, 19, 21) -
#1011
7596287
Thanks @baseballyama! - breaking: deprecate thesvelte/no-dynamic-slot-name
rule -
#930
eae1b4f
Thanks @ota-meshi! - feat!: upgrade svelte-eslint-parser to v1 -
#982
04fc429
Thanks @baseballyama! - feat!: Updated thehtml-self-closing
rule to follow Svelte5 -
#932
b136ab4
Thanks @ota-meshi! - feat!: change the plugin to an ESM-only package
Minor Changes
-
#980
0b28198
Thanks @baseballyama! - feat: Implement util to conditionally run lint based on Svelte version and SvelteKit routes etc -
#1013
0ef0f99
Thanks @baseballyama! - feat: add Svelte 5 support tono-not-function-handler
-
#900
4759b47
Thanks @marekdedic! - feat: added the no-navigation-without-base rule -
#925
faf90ef
Thanks @marekdedic! - feat: added theconsistent-selector-style
rule -
#945
19f682b
Thanks @baseballyama! - feat: Support<svelte:boundary>
-
#844
2bbd049
Thanks @Winter! - feat: Added suggestion to theblock-lang
rule. -
#984
35d80a5
Thanks @baseballyama! - feat: supportwarningFilter
invalid-compile
rule -
#918
5da98c9
Thanks @mikededo! - Added newno-deprecated-raw-special-elements
rule -
#922
f4a0fa7
Thanks @marekdedic! - feat: added the no-useless-children-snippet rule -
#836
3fa90aa
Thanks @renovate! - feat: support for typescript-eslint v8 tosvelte/indent
rule -
#963
2c551b2
Thanks @baseballyama! - feat: support Svelte5 ofvalid-prop-names-in-kit-pages
rule -
#1054
c587629
Thanks @marekdedic! - feat: added the valid-style-parse rule -
#1085
a0588ef
Thanks @baseballyama! - chore: updatesvelte-eslint-parser
to v1 -
#1015
8369eaf
Thanks @mikededo! - fix!: renameno-deprecated-raw-special-elements
tono-raw-special-elements
-
#911
452ffed
Thanks @marekdedic! - feat(no-inline-styles): allowing transitions by default -
#1063
d39c90c
Thanks @baseballyama! - feat: detect version information from node_modules when not specified in package.json, like pnpm’s catalog
Patch Changes
-
#961
117e60d
Thanks @baseballyama! - fix: support each blocks without an item -
#1009
a003664
Thanks @baseballyama! - chore: upgradesvelte-eslint-parser
to1.0.0-next.8
-
#1016
91999e3
Thanks [@baseballyama](https://gi...
eslint-plugin-svelte@3.0.0-next.18
Patch Changes
- #1048
513806c
Thanks @baseballyama! - fix: allowchildren
invalid-prop-names-in-kit-pages
rule
eslint-plugin-svelte@3.0.0-next.17
Major Changes
- #1043
778427e
Thanks @ota-meshi! - feat: add*.svelte.{js,ts}
config to base config
eslint-plugin-svelte@3.0.0-next.16
Major Changes
-
#1033
3bfcc31
Thanks @baseballyama! - Enabled in recommended config:svelte/infinite-reactive-loop
svelte/no-dom-manipulating
svelte/no-dupe-on-directives
svelte/no-dupe-use-directives
svelte/no-export-load-in-svelte-module-in-kit-pages
svelte/no-immutable-reactive-statements
svelte/no-inspect
svelte/no-raw-special-elements
svelte/no-reactive-functions
svelte/no-reactive-literals
svelte/no-reactive-reassign
svelte/no-store-async
svelte/no-svelte-internal
svelte/no-useless-children-snippet
svelte/no-useless-mustaches
svelte/require-each-key
svelte/require-event-dispatcher-types
svelte/require-store-reactive-access
svelte/require-stores-init
svelte/valid-each-key
svelte/valid-prop-names-in-kit-pages
Removed from recommended config:
svelte/valid-compile
This update introduces breaking changes due to newly enabled rules.
-
#1011
7596287
Thanks @baseballyama! - breaking: deprecate thesvelte/no-dynamic-slot-name
rule
Minor Changes
- #1013
0ef0f99
Thanks @baseballyama! - feat: add Svelte 5 support tono-not-function-handler
Patch Changes
-
#1035
f16729f
Thanks @baseballyama! - chore: runrequire-event-dispatcher-types
rule on Svelte 3/4 only -
#1040
ac7115c
Thanks @baseballyama! - fix: account for \n and \r inTemplateLiteral
handling for theno-useless-mustaches
rule -
#1031
e50d2d4
Thanks @baseballyama! - chore: do not runno-reactive-literals
rule on Svelte 5 with runes -
#1032
722b36c
Thanks @baseballyama! - chore: runno-useless-children-snippet
rule on Svelte 5 only
eslint-plugin-svelte@3.0.0-next.15
Minor Changes
-
#925
faf90ef
Thanks @marekdedic! - feat: added theconsistent-selector-style
rule -
#984
35d80a5
Thanks @baseballyama! - feat: supportwarningFilter
invalid-compile
rule
Patch Changes
-
#1016
91999e3
Thanks @baseballyama! - chore: change the rule category ofvalid-prop-names-in-kit-pages
toSvelteKit
-
#1012
763cf7a
Thanks @baseballyama! - chore: change the rule category ofno-export-load-in-svelte-module-in-kit-pages
toSvelteKit
-
#1017
806d72a
Thanks @baseballyama! - chore: do not runno-reactive-functions
rule on Svelte 5 with runes -
#1014
74373ec
Thanks @baseballyama! - chore: do not runno-reactive-reassign
rule on Svelte 5 with runes -
#1026
1bed311
Thanks @baseballyama! - chore: updatesvelte-eslint-parser
tov1.0.0-next.12
-
#1018
5bdc906
Thanks @baseballyama! - chore: run theno-inspect
rule only in Svelte 5’s runes mode -
#1006
5fd91ba
Thanks @baseballyama! - chore: do not runinfinite-reactive-loop
rule on Svelte 5 with runes
eslint-plugin-svelte@3.0.0-next.14
Patch Changes
- #1021
6557c69
Thanks @baseballyama! - chore: updatesvelte-eslint-parser
to1.0.0-next.10
eslint-plugin-svelte@3.0.0-next.13
Major Changes
- #982
04fc429
Thanks @baseballyama! - feat!: Updated thehtml-self-closing
rule to follow Svelte5
Minor Changes
- #1015
8369eaf
Thanks @mikededo! - fix!: renameno-deprecated-raw-special-elements
tono-raw-special-elements
Patch Changes
-
#1009
a003664
Thanks @baseballyama! - chore: upgradesvelte-eslint-parser
to1.0.0-next.8
-
#1020
eae0e2e
Thanks @baseballyama! - chore: updatesvelte-eslint-parser
to1.0.0-next.9
-
#1007
8e9199a
Thanks @baseballyama! - fix: update method for extracting major version
eslint-plugin-svelte@3.0.0-next.12
Patch Changes
- #990
12049c0
Thanks @baseballyama! - fix: ignorecss_unused_selector
compile error if<style>
tag hasglobal
attribute