Skip to content

chore(deps): Update dependency eslint-plugin-svelte to v3 - #395

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint-plugin-svelte-3.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint-plugin-svelte-3.x

Conversation

@renovate

@renovate renovate Bot commented Feb 27, 2025 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-svelte (source) 2.46.1 → 3.24.1 age confidence

Release Notes

sveltejs/eslint-plugin-svelte (eslint-plugin-svelte)

v3.24.1

Compare Source

Patch Changes
  • #​1665 4b06717 Thanks @​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 fbae40a Thanks @​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 unless checkAsyncFunctions is enabled, and functions that return a Promise of a value (e.g. Promise<string>) are now ignored even when checkAsyncFunctions is 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 d5ad32a Thanks @​officialasishkumar! - fix: recognize <script module> in no-export-load-in-svelte-module-in-kit-pages and prefer-destructured-store-props

v3.24.0

Compare Source

Minor Changes
  • #​1553 8cca2e0 Thanks @​marekdedic! - feat(no-navigation-without-resolve): track resolve() through array elements, object properties and {#each} iteration variables
Patch Changes
  • #​1380 9944910 Thanks @​baseballyama! - fix(no-navigation-without-resolve): check complete rel tokens before exempting external links

  • #​1566 e49015d Thanks @​arpitjain099! - fix(no-unused-props): fix false positives and negatives around spreads, aliases, dotted keys, and props that share a type

  • #​1516 7538afa Thanks @​kevin-easygo! - fix(no-reactive-functions): use isSpaceBetween instead of isSpaceBetweenTokens, which was removed in ESLint v10

  • #​1618 7999ad4 Thanks @​baseballyama! - fix(valid-compile): read the parser from context.languageOptions.parserOptions, since context.parserOptions was removed in ESLint v10

  • #​1606 78def78 Thanks @​ozenyunus35! - Allow a comment before a closing token in svelte/indent to be aligned with the previous line instead of requiring the indentation of the closing token.

  • #​1581 3b308f3 Thanks @​badreddinesaadioui! - fix(prefer-svelte-reactivity): stop reporting in legacy (non-runes) components, where the svelte/reactivity classes are not tracked

  • #​1627 36abd30 Thanks @​baseballyama! - Fix false positives in svelte/no-unused-props:

    • The props object is destructured (e.g. const { a } = props). A destructured key now counts as used when its binding is used, and an unused one is reported. Nested destructuring (e.g. const { name } = user) can now report unused nested properties, the same as user.name.
    • The props object is used as a whole (e.g. $inspect(props) or fn(props)). Every property now counts as used. A type query like typeof props.a is not counted as a use.
    • A dynamic key like user[key] now counts as using every property of user.
    • Numeric and template literal keys like props[0].a and props[`a`], and wrapped values like props!.a, (props as Props).a and (props satisfies Props).a are now tracked.
    • Instances of generic classes are now skipped like other class instances.
    • With allowUnusedNestedProperties, nested properties are never reported.
    • Class members that cannot be read from outside (#foo, private, protected) are no longer reported, e.g. in intersections.
  • #​1629 5e0c7bf Thanks @​baseballyama! - Stop svelte/no-unused-svelte-ignore from reporting svelte-ignore comments for runtime warnings (e.g. ownership_invalid_binding), which the compiler can't report.

  • #​1626 9aa3a7a Thanks @​baseballyama! - Require postcss@^8.5.10 to avoid GHSA-qx2v-qp2m-jg93.

  • #​1613 80e66ec Thanks @​smile-alive! - fix(sort-attributes): do not report or move shorthand attributes and directives across spread attributes

  • #​1635 cf11995 Thanks @​baseballyama! - fix(require-store-reactive-access): with type information, don't report callable stores used as functions, actions, transitions, or event handlers, and stores from function calls such as getContext() checked with ?? / ??= with a store fallback. Don't auto-fix stores that are not declared at the top level, are used in the module script, or are on the left side of ||= / &&= / ??=.

  • #​1616 a972353 Thanks @​eknathdj! - Honor svelte-ignore comments on nested script nodes in svelte/no-unused-svelte-ignore and svelte/valid-compile (Svelte 5), and no longer treat a comment at the end of the previous line as an ignore comment for the next node.

  • #​1648 ae85b36 Thanks @​baseballyama! - chore: update svelte-eslint-parser to 1.10.1

  • #​1625 9b859e3 Thanks @​baseballyama! - Pass compilerOptions.runes from the Svelte config to the compiler in svelte/valid-compile and svelte/no-unused-svelte-ignore, so runes-mode warnings are reported for files that rely on runes: true. The function form (runes: ({ filename }) => ...) is also supported.

v3.23.1

Compare Source

Patch Changes
  • #​1592 ed67eb7 Thanks @​baseballyama! - Exclude deprecated rules from the all configuration while keeping active rules enabled.

  • #​1594 af288cd Thanks @​baseballyama! - Recognize browser from SvelteKit's $app/env alias as a browser guard in no-top-level-browser-globals.

  • #​1588 9814b51 Thanks @​baseballyama! - Include all active extension rules in the Extension Rules documentation table while preserving their primary-category entries.

  • #​1589 57863c5 Thanks @​baseballyama! - Keep the documented project service configuration consistent across TypeScript and Svelte files to avoid unnecessary project reloads.

  • #​1593 4ad2c67 Thanks @​baseballyama! - Limit require-each-key diagnostics to the opening each tag instead of the whole block.

  • #​1599 90d7b09 Thanks @​baseballyama! - Enable no-navigation-without-resolve on SvelteKit 3 so the recommended config reports internal links and navigation calls that omit resolve().

  • #​1590 a28563f Thanks @​baseballyama! - Fix false positives in no-immutable-reactive-statements for TypeScript components when ecmaFeatures.globalReturn is enabled.

  • #​1598 4607a2c Thanks @​baseballyama! - Recognize SvelteKit 3 in rule conditions, including prereleases, and document version detection and routes configuration.

v3.23.0

Compare Source

Minor Changes

v3.22.0

Compare Source

Minor Changes

v3.21.0

Compare Source

Minor Changes

v3.20.0

Compare Source

Minor Changes
Patch Changes
  • #​1503 989bfa5 Thanks @​teemingc! - fix(valid-prop-names-in-kit-pages): drop errors from allowed page props in Svelte 5 to follow SvelteKit

v3.19.0

Compare Source

Minor Changes

v3.18.0

Compare Source

Minor Changes

v3.17.1

Compare Source

Patch Changes

v3.17.0

Compare Source

Minor Changes
Patch Changes

v3.16.0

Compare Source

Minor Changes

v3.15.2

Compare Source

Patch Changes

v3.15.1

Compare Source

Patch Changes
  • #​1477 8c5f51e Thanks @​ota-meshi! - fix(no-top-level-browser-globals): false positive when browser globals appear inside TypeScript generic type parameters (e.g. $state<HTMLElement>(...)).

  • #​1467 d81b556 Thanks @​marekdedic! - fix(no-navigation-without-resolve): fixed nullish link shorthands not being allowed

v3.15.0

Compare Source

Minor Changes

v3.14.0

Compare Source

Minor Changes

v3.13.1

Compare Source

Patch Changes

v3.13.0

Compare Source

Minor Changes
Patch Changes

v3.12.5

Compare Source

Patch Changes

v3.12.4

Compare Source

Patch Changes
  • #​1322 1e06290 Thanks @​marekdedic! - fix(no-navigation-without-resolve): properly detecting absolute and fragment URLs in variables

  • #​1355 d8df1e8 Thanks @​InkedCat! - fix: properly support Windows in no-unused-props rule
    fix: properly support Windows in valid-style-parse rule
    fix: properly support Windows in no-unnecessary-condition rule

  • #​1344 03a93f4 Thanks @​ota-meshi! - fix: preventing infinite loops in multiple rules

v3.12.3

Compare Source

Patch Changes

v3.12.2

Compare Source

Patch Changes

v3.12.1

Compare Source

Patch Changes
  • #​1313 27573f4 Thanks @​marekdedic! - fix: Not reporting mailto: and other unusual schema addresses in no-nmavigation-without-resolve (and its deprecated versions)

v3.12.0

Compare Source

Minor Changes

v3.11.0

Compare Source

Minor Changes
Patch Changes

v3.10.1

Compare Source

Patch Changes

v3.10.0

Compare Source

Minor Changes

v3.9.3

Compare Source

Patch Changes

v3.9.2

Compare Source

Patch Changes

v3.9.1

Compare Source

Patch Changes
  • #​1239 a3d4224 Thanks @​baseballyama! - fix(prefer-const): Use additionalProperties instead of ignoreReadonly to match the ESLint core rule option name.

v3.9.0

Compare Source

Minor Changes
  • #​1235 6e86e30 Thanks @​43081j! - Improve performance of ignore comment extraction and add support for comma-separated ignore codes

v3.8.2

Compare Source

Patch Changes

v3.8.1

Compare Source

Patch Changes

v3.8.0

Compare Source

Minor Changes

v3.7.0

Compare Source

Minor Changes

v3.6.0

Compare Source

Minor Changes
Patch Changes

v3.5.1

Compare Source

Patch Changes

v3.5.0

Compare Source

Minor Changes
Patch Changes

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from Darkness4 as a code owner February 27, 2025 02:06
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from bf4659a to ac63f4b Compare March 10, 2025 03:14
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 6 times, most recently from 74d427d to 27bfbd0 Compare March 20, 2025 02:33
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 4 times, most recently from 3a90f14 to 1952419 Compare April 4, 2025 02:21
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from bf186d4 to f1034f1 Compare April 22, 2025 05:33
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 4 times, most recently from 37c1158 to 47f75e0 Compare May 17, 2025 18:12
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from 91c56f9 to 1aec239 Compare May 21, 2025 12:28
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from 1aec239 to 653e59f Compare June 2, 2025 02:13
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from 653e59f to 52275f6 Compare June 10, 2025 02:30
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 4 times, most recently from b0bd918 to 50db5ef Compare June 27, 2025 03:01
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from 50db5ef to e727166 Compare June 28, 2025 05:04
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from e727166 to 9a11a06 Compare July 6, 2025 05:29
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from efa520f to a1579f2 Compare November 19, 2025 23:52
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from 2bc36b0 to 2f806df Compare December 5, 2025 02:32
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from 2f806df to 16b48ce Compare December 31, 2025 15:32
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from beb13de to f2d046b Compare January 8, 2026 20:15
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from f2d046b to aa5a496 Compare February 2, 2026 18:28
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from f4c9fbc to f691f7e Compare February 12, 2026 16:42
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 4 times, most recently from a0279bf to 76c41e9 Compare March 5, 2026 18:01
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 4 times, most recently from 6e710dd to 252bb2c Compare March 14, 2026 04:42
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 3 times, most recently from 2efc365 to e7a688b Compare March 21, 2026 08:35
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 3 times, most recently from 6cade9f to 05d32b7 Compare April 8, 2026 15:02
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from 0e6e9c7 to 5491778 Compare April 29, 2026 10:56
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from 5491778 to 10f569b Compare May 12, 2026 14:28
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch 2 times, most recently from dfae56d to 189a49c Compare May 30, 2026 20:11
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-svelte-3.x branch from 189a49c to b798806 Compare June 11, 2026 13:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

0 participants