Skip to content

Commit cc16c97

Browse files
chore: release eslint-plugin-svelte (next) (#973)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 71eca84 commit cc16c97

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

.changeset/pre.json

+3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
"docs": "0.0.0"
77
},
88
"changesets": [
9+
"blue-panthers-run",
910
"cool-rockets-allow",
1011
"fast-coins-fly",
12+
"green-squids-compete",
1113
"hungry-grapes-shave",
1214
"lazy-eyes-wait",
1315
"olive-wolves-travel",
1416
"quiet-toys-burn",
17+
"sixty-news-look",
1518
"small-days-agree",
1619
"small-donuts-end",
1720
"thick-items-retire",

docs/rules/prefer-const.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: 'rule-details'
33
sidebarDepth: 0
44
title: 'svelte/prefer-const'
55
description: 'Require `const` declarations for variables that are never reassigned after declared'
6+
since: 'v3.0.0-next.6'
67
---
78

89
# svelte/prefer-const
910

1011
> Require `const` declarations for variables that are never reassigned after declared
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
1313
- :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.
1414

1515
## :book: Rule Details
@@ -61,6 +61,10 @@ This rule reports the same as the base ESLint `prefer-const` rule, except that i
6161

6262
- See [ESLint `prefer-const` rule](https://eslint.org/docs/latest/rules/prefer-const) for more information about the base rule.
6363

64+
## :rocket: Version
65+
66+
This rule was introduced in eslint-plugin-svelte v3.0.0-next.6
67+
6468
## :mag: Implementation
6569

6670
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/prefer-const.ts)

packages/eslint-plugin-svelte/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# eslint-plugin-svelte
22

3+
## 3.0.0-next.6
4+
5+
### Minor Changes
6+
7+
- [#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
8+
9+
- [#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
10+
11+
### Patch Changes
12+
13+
- [#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
14+
315
## 3.0.0-next.5
416

517
### Patch Changes

packages/eslint-plugin-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte",
3-
"version": "3.0.0-next.5",
3+
"version": "3.0.0-next.6",
44
"description": "ESLint plugin for Svelte using AST",
55
"repository": "git+https://github.com/sveltejs/eslint-plugin-svelte.git",
66
"homepage": "https://sveltejs.github.io/eslint-plugin-svelte",

packages/eslint-plugin-svelte/src/meta.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// This file has been automatically generated,
33
// in order to update its content execute "pnpm run update"
44
export const name = 'eslint-plugin-svelte';
5-
export const version = '3.0.0-next.5';
5+
export const version = '3.0.0-next.6';

0 commit comments

Comments
 (0)