Skip to content

Latest commit

 

History

History
1009 lines (535 loc) · 76.1 KB

File metadata and controls

1009 lines (535 loc) · 76.1 KB

eslint-plugin-svelte

3.0.3

Patch Changes

3.0.2

Patch Changes

3.0.1

Patch Changes

  • #1091 83da078 Thanks @ottomated! - fix: Don't remove mustache'd string literals if they contain curly braces

3.0.0

Major Changes

  • #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: remove require-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 the svelte/no-dynamic-slot-name rule

  • #930 eae1b4f Thanks @ota-meshi! - feat!: upgrade svelte-eslint-parser to v1

  • #982 04fc429 Thanks @baseballyama! - feat!: Updated the html-self-closing rule to follow Svelte5

  • #932 b136ab4 Thanks @ota-meshi! - feat!: change the plugin to an ESM-only package

Minor Changes

Patch Changes

3.0.0-next.18

Patch Changes

3.0.0-next.17

Major Changes

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 the svelte/no-dynamic-slot-name rule

Minor Changes

Patch Changes

3.0.0-next.15

Minor Changes

Patch Changes

3.0.0-next.14

Patch Changes

3.0.0-next.13

Major Changes

Minor Changes

  • #1015 8369eaf Thanks @mikededo! - fix!: rename no-deprecated-raw-special-elements to no-raw-special-elements

Patch Changes

3.0.0-next.12

Patch Changes

  • #990 12049c0 Thanks @baseballyama! - fix: ignore css_unused_selector compile error if <style> tag has global attribute

3.0.0-next.11

Minor Changes

  • #980 0b28198 Thanks @baseballyama! - feat: Implement util to conditionally run lint based on Svelte version and SvelteKit routes etc

Patch Changes

3.0.0-next.10

Patch Changes

3.0.0-next.9

Minor Changes

3.0.0-next.8

Minor Changes

3.0.0-next.7

Major Changes

Minor Changes

3.0.0-next.6

Minor Changes

Patch Changes

3.0.0-next.5

Patch Changes

3.0.0-next.4

Major Changes

3.0.0-next.3

Major Changes

Minor Changes

3.0.0-next.2

Patch Changes

3.0.0-next.1

Minor Changes

3.0.0-next.0

Major Changes

Minor Changes

2.46.0

Minor Changes

2.45.1

Patch Changes

2.45.0

Minor Changes

Patch Changes

  • #856 cf6c842 Thanks @KuSh! - chore: Avoid using deprecated FlatConfig eslint type

2.44.1

Patch Changes

2.44.0

Minor Changes

  • #841 85053a1 Thanks @jrmajor! - feat: add config option for foreign elements in svelte/html-self-closing rule

Patch Changes

2.43.0

Minor Changes

2.42.0

Minor Changes

2.41.0

Minor Changes

Patch Changes

2.40.0

Minor Changes

  • #792 cb722bc Thanks @ota-meshi! - feat: update svelte-eslint-parser to 0.39

  • #796 5e4d264 Thanks @ota-meshi! - feat: improve svelte/valid-compile to use svelte.config.js's onwarn from the parser.

  • #794 7894f82 Thanks @ota-meshi! - feat: improve svelte/valid-prop-names-in-kit-pages to use svelte.config.js data from the parser.

  • #794 7894f82 Thanks @ota-meshi! - feat: improve svelte/no-export-load-in-svelte-module-in-kit-pages to use svelte.config.js data from the parser.

Patch Changes

  • #795 df947a7 Thanks @baseballyama! - deps: update svelte-eslint-parser to 0.39.1 to set svelteFeatures.runes to true by default for Svelte 5

  • #797 f6d4e4c Thanks @ota-meshi! - fix: svelte/valid-compile to use verbatimModuleSyntax to work with TS v5.5.

2.39.5

Patch Changes

2.39.4

Patch Changes

2.39.3

Patch Changes

2.39.2

Patch Changes

2.39.1

Patch Changes

  • #772 0ecab95 Thanks @ota-meshi! - fix: false positive for kebab-case with svelte v5 in svelte/no-unused-svelte-ignore

2.39.0

Minor Changes

2.38.0

Minor Changes

2.37.0

Minor Changes

2.36.0

Minor Changes

Patch Changes

2.36.0-next.13

Patch Changes

2.36.0-next.12

Patch Changes

2.36.0-next.11

Minor Changes

2.36.0-next.10

Patch Changes

2.36.0-next.9

Minor Changes

Patch Changes

2.36.0-next.8

Patch Changes

2.36.0-next.7

Minor Changes

  • #690 e84397d Thanks @sdarnell! - Added prefer option to prefer-class-directive rule ('always' or 'empty'). The default is now 'empty' which is a slight relaxation of the rule.

Patch Changes

2.36.0-next.6

Patch Changes

2.36.0-next.5

Patch Changes

2.36.0-next.4

Patch Changes

2.36.0-next.3

Patch Changes

2.36.0-next.2

Patch Changes

2.36.0-next.1

Minor Changes

2.36.0-next.0

Minor Changes

2.35.1

Patch Changes

2.35.0

Minor Changes

2.34.1

Patch Changes

  • #604 796c0ad Thanks @ota-meshi! - fix: false positives for custom-element with svelte v3 in svelte/valid-compile

2.34.0

Minor Changes

2.33.2

Patch Changes

  • #585 d9866a1 Thanks @ota-meshi! - fix: false positives for bind: with member in svelte/no-immutable-reactive-statements rule

2.33.1

Patch Changes

  • #581 1645a9e Thanks @ota-meshi! - fix: false positives for mutable member in svelte/no-immutable-reactive-statements rule

2.33.0

Minor Changes

2.32.4

Patch Changes

2.32.3

Patch Changes

2.32.2

Patch Changes

2.32.1

Patch Changes

2.32.0

Minor Changes

Patch Changes

2.31.1

Patch Changes

2.31.0

Minor Changes

2.30.0

Minor Changes

2.29.0

Minor Changes

2.28.0

Minor Changes

2.27.4

Patch Changes

  • #465 c8c98d4 Thanks @ota-meshi! - fix: false positives for builtin $$ vars in svelte/no-immutable-reactive-statements

  • #464 fcb7226 Thanks @ota-meshi! - fix: false positives for builtin $$ vars in svelte/prefer-destructured-store-props

2.27.3

Patch Changes

2.27.2

Patch Changes

2.27.1

Patch Changes

2.27.0

Minor Changes

2.26.0

Minor Changes

  • #433 890cfa2 Thanks @ota-meshi! - feat: update svelte-eslint-parser to add support for <svelte:document>

2.25.0

Minor Changes

2.24.0

Minor Changes

2.23.1

Patch Changes

  • #420 4ae07d9 Thanks @ota-meshi! - fix: false positive for containing element in svelte/no-unused-svelte-ignore

2.23.0

Minor Changes

Patch Changes

2.22.0

Minor Changes

2.21.0

Minor Changes

2.20.2

Patch Changes

2.20.1

Patch Changes

2.20.0

Minor Changes

2.19.2

Patch Changes

2.19.1

Patch Changes

2.19.0

Minor Changes

  • #375 d692baf Thanks @ptrxyz! - Change to use parserServices.program.getCompilerOptions().target for TS transpile in svelte/valid-compile rule.

2.18.0

Minor Changes

2.17.0

Minor Changes

2.16.0

Minor Changes

Patch Changes

2.15.0

Minor Changes

Patch Changes

2.14.1

Patch Changes

2.14.0

Minor Changes

2.13.1

Patch Changes

2.13.0

Minor Changes

2.12.0

Minor Changes

Patch Changes

2.11.0

Minor Changes

2.10.0

Minor Changes

2.9.0

Minor Changes

Patch Changes

2.8.0

Minor Changes

2.7.0

Minor Changes

2.6.0

Minor Changes