Skip to content

Commit 01377ae

Browse files
authoredJun 19, 2023
chore: release eslint-plugin-svelte (#502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent cc321f4 commit 01377ae

8 files changed

+22
-21
lines changed
 

‎.changeset/moody-seas-kick.md

-5
This file was deleted.

‎.changeset/tasty-beds-compare.md

-5
This file was deleted.

‎.changeset/wise-flies-lay.md

-5
This file was deleted.

‎CHANGELOG.md

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

3+
## 2.31.0
4+
5+
### Minor Changes
6+
7+
- [#489](https://github.com/sveltejs/eslint-plugin-svelte/pull/489) [`cc321f4`](https://github.com/sveltejs/eslint-plugin-svelte/commit/cc321f4182fe71b0b1f136d6ede37c509a402c25) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the no-unused-class-name rule
8+
9+
- [#504](https://github.com/sveltejs/eslint-plugin-svelte/pull/504) [`ab9e6e7`](https://github.com/sveltejs/eslint-plugin-svelte/commit/ab9e6e7f64537747a31826d9ff3758350f0b0f59) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency svelte-eslint-parser to ^0.31.0
10+
11+
- [#499](https://github.com/sveltejs/eslint-plugin-svelte/pull/499) [`16d6816`](https://github.com/sveltejs/eslint-plugin-svelte/commit/16d6816bbfec66ad89bbbe59429c74c6a21542df) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `no-restricted-html-elements` rule
12+
313
## 2.30.0
414

515
### Minor Changes

‎docs/rules/no-restricted-html-elements.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/no-restricted-html-elements"
55
description: "disallow specific HTML elements"
6+
since: "v2.31.0"
67
---
78

89
# svelte/no-restricted-html-elements
910

1011
> disallow specific HTML elements
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
13-
1413
## :book: Rule Details
1514

1615
This rule reports to usage of resticted HTML elements.
@@ -101,6 +100,10 @@ Alternatively, the rule also accepts objects.
101100
}
102101
```
103102

103+
## :rocket: Version
104+
105+
This rule was introduced in eslint-plugin-svelte v2.31.0
106+
104107
## :mag: Implementation
105108

106109
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-restricted-html-elements.ts)

‎docs/rules/no-unused-class-name.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "svelte/no-unused-class-name"
55
description: "disallow the use of a class in the template without a corresponding style"
6+
since: "v2.31.0"
67
---
78

89
# svelte/no-unused-class-name
910

1011
> disallow the use of a class in the template without a corresponding style
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
13-
1413
## :book: Rule Details
1514

1615
This rule is aimed at reducing unused classes in the HTML template. While `svelte-check` will produce the `css-unused-selector` if your `<style>` block includes any classes that aren't used in the template, this rule works the other way around - it reports cases wehre the template contains classes that aren't referred to in the `<style>` block.
@@ -55,6 +54,10 @@ This rule is aimed at reducing unused classes in the HTML template. While `svelt
5554

5655
Nothing.
5756

57+
## :rocket: Version
58+
59+
This rule was introduced in eslint-plugin-svelte v2.31.0
60+
5861
## :mag: Implementation
5962

6063
- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-unused-class-name.ts)

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte",
3-
"version": "2.30.0",
3+
"version": "2.31.0",
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",

‎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" as const
5-
export const version = "2.30.0" as const
5+
export const version = "2.31.0" as const

0 commit comments

Comments
 (0)
Please sign in to comment.