From 8b64bc8f277134e55e76bdb8fccfb3caf037e5a0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 30 Dec 2024 03:09:47 +0000 Subject: [PATCH] chore: release eslint-plugin-svelte (next) --- .changeset/pre.json | 3 +++ docs/rules/prefer-const.md | 6 +++++- packages/eslint-plugin-svelte/CHANGELOG.md | 12 ++++++++++++ packages/eslint-plugin-svelte/package.json | 2 +- packages/eslint-plugin-svelte/src/meta.ts | 2 +- 5 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 672a6121c..25901e894 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -6,12 +6,15 @@ "docs": "0.0.0" }, "changesets": [ + "blue-panthers-run", "cool-rockets-allow", "fast-coins-fly", + "green-squids-compete", "hungry-grapes-shave", "lazy-eyes-wait", "olive-wolves-travel", "quiet-toys-burn", + "sixty-news-look", "small-days-agree", "small-donuts-end", "thick-items-retire", diff --git a/docs/rules/prefer-const.md b/docs/rules/prefer-const.md index f24b70fe2..a6ad021e0 100644 --- a/docs/rules/prefer-const.md +++ b/docs/rules/prefer-const.md @@ -3,13 +3,13 @@ pageClass: 'rule-details' sidebarDepth: 0 title: 'svelte/prefer-const' description: 'Require `const` declarations for variables that are never reassigned after declared' +since: 'v3.0.0-next.6' --- # svelte/prefer-const > Require `const` declarations for variables that are never reassigned after declared -- :exclamation: **_This rule has not been released yet._** - :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. ## :book: Rule Details @@ -61,6 +61,10 @@ This rule reports the same as the base ESLint `prefer-const` rule, except that i - See [ESLint `prefer-const` rule](https://eslint.org/docs/latest/rules/prefer-const) for more information about the base rule. +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v3.0.0-next.6 + ## :mag: Implementation - [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-const.ts) diff --git a/packages/eslint-plugin-svelte/CHANGELOG.md b/packages/eslint-plugin-svelte/CHANGELOG.md index e8067a2fa..70183a222 100644 --- a/packages/eslint-plugin-svelte/CHANGELOG.md +++ b/packages/eslint-plugin-svelte/CHANGELOG.md @@ -1,5 +1,17 @@ # eslint-plugin-svelte +## 3.0.0-next.6 + +### Minor Changes + +- [#933](https://github.com/sveltejs/eslint-plugin-svelte/pull/933) [`71eca84`](https://github.com/sveltejs/eslint-plugin-svelte/commit/71eca843c43250591ec6fa2dd1dc547b1074d6ad) Thanks [@mikededo](https://github.com/mikededo)! - Add `prefer-const` rule + +- [#963](https://github.com/sveltejs/eslint-plugin-svelte/pull/963) [`2c551b2`](https://github.com/sveltejs/eslint-plugin-svelte/commit/2c551b20557bcd53e35479336bf0c25e88a7643b) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: support Svelte5 of `valid-prop-names-in-kit-pages` rule + +### Patch Changes + +- [#961](https://github.com/sveltejs/eslint-plugin-svelte/pull/961) [`117e60d`](https://github.com/sveltejs/eslint-plugin-svelte/commit/117e60d4290966911450c7e0db8566279e4511bb) Thanks [@baseballyama](https://github.com/baseballyama)! - fix: support each blocks without an item + ## 3.0.0-next.5 ### Patch Changes diff --git a/packages/eslint-plugin-svelte/package.json b/packages/eslint-plugin-svelte/package.json index 7dccad692..0d5b4448b 100644 --- a/packages/eslint-plugin-svelte/package.json +++ b/packages/eslint-plugin-svelte/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-svelte", - "version": "3.0.0-next.5", + "version": "3.0.0-next.6", "description": "ESLint plugin for Svelte using AST", "repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git", "homepage": "https://sveltejs.github.io/eslint-plugin-svelte", diff --git a/packages/eslint-plugin-svelte/src/meta.ts b/packages/eslint-plugin-svelte/src/meta.ts index f2a2a6d58..7d3bae828 100644 --- a/packages/eslint-plugin-svelte/src/meta.ts +++ b/packages/eslint-plugin-svelte/src/meta.ts @@ -2,4 +2,4 @@ // This file has been automatically generated, // in order to update its content execute "pnpm run update" export const name = 'eslint-plugin-svelte'; -export const version = '3.0.0-next.5'; +export const version = '3.0.0-next.6';