Skip to content

Commit

Permalink
chore: release eslint-plugin-svelte (#502)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jun 19, 2023
1 parent cc321f4 commit 01377ae
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .changeset/moody-seas-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-beds-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-flies-lay.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# eslint-plugin-svelte

## 2.31.0

### Minor Changes

- [#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

- [#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

- [#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

## 2.30.0

### Minor Changes
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-restricted-html-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/no-restricted-html-elements"
description: "disallow specific HTML elements"
since: "v2.31.0"
---

# svelte/no-restricted-html-elements

> disallow specific HTML elements
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>

## :book: Rule Details

This rule reports to usage of resticted HTML elements.
Expand Down Expand Up @@ -101,6 +100,10 @@ Alternatively, the rule also accepts objects.
}
```

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.31.0

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-restricted-html-elements.ts)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-unused-class-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/no-unused-class-name"
description: "disallow the use of a class in the template without a corresponding style"
since: "v2.31.0"
---

# svelte/no-unused-class-name

> disallow the use of a class in the template without a corresponding style
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>

## :book: Rule Details

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.
Expand Down Expand Up @@ -55,6 +54,10 @@ This rule is aimed at reducing unused classes in the HTML template. While `svelt

Nothing.

## :rocket: Version

This rule was introduced in eslint-plugin-svelte v2.31.0

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/src/rules/no-unused-class-name.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-svelte",
"version": "2.30.0",
"version": "2.31.0",
"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",
Expand Down
2 changes: 1 addition & 1 deletion src/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" as const
export const version = "2.30.0" as const
export const version = "2.31.0" as const

0 comments on commit 01377ae

Please sign in to comment.