Skip to content

Commit

Permalink
chore: release eslint-plugin-svelte (#866)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## eslint-plugin-svelte@2.45.0

### Minor Changes

-
[`7460836`](7460836)
Thanks [@ota-meshi](https://github.com/ota-meshi)! -
feat(html-closing-bracket-new-line): add `html-closing-bracket-new-line`
rule

- [#868](#868)
[`edf99d3`](edf99d3)
Thanks [@mikededo](https://github.com/mikededo)! - feat(no-inspect): add
`no-inspect` rule

### Patch Changes

- [#856](#856)
[`cf6c842`](cf6c842)
Thanks [@KuSh](https://github.com/KuSh)! - chore: Avoid using deprecated
FlatConfig eslint type

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
  • Loading branch information
3 people authored Oct 16, 2024
1 parent 7460836 commit be8d9c9
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .changeset/html-closing-bracket-new-line.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-eyes-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-games-mix.md

This file was deleted.

6 changes: 5 additions & 1 deletion docs/rules/html-closing-bracket-new-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: 'rule-details'
sidebarDepth: 0
title: 'svelte/html-closing-bracket-new-line'
description: "Require or disallow a line break before tag's closing brackets"
since: 'v2.45.0'
---

# svelte/html-closing-bracket-new-line

> Require or disallow a line break before tag's closing brackets
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :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
Expand Down Expand Up @@ -83,6 +83,10 @@ This rule enforces a line break (or no line break) before tag's closing brackets

The `selfClosing` is optional, and by default it will use the same configuration as `singleline` and `multiline`, respectively.

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/html-closing-bracket-new-line.ts)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-inspect.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-inspect'
description: 'Warns against the use of `$inspect` directive'
since: 'v2.45.0'
---

# svelte/no-inspect

> Warns against the use of `$inspect` directive
- :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 usages of `$inspect`.
Expand All @@ -33,6 +32,10 @@ This rule reports usages of `$inspect`.

Nothing.

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/src/rules/no-inspect.ts)
Expand Down
12 changes: 12 additions & 0 deletions packages/eslint-plugin-svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# eslint-plugin-svelte

## 2.45.0

### Minor Changes

- [#870](https://github.com/sveltejs/eslint-plugin-svelte/pull/870) [`b0373be`](https://github.com/sveltejs/eslint-plugin-svelte/commit/b0373bef49e4225751c98c3c46c6099cb7d1ca72) Thanks [@mikededo](https://github.com/mikededo)! - feat(html-closing-bracket-new-line): add `html-closing-bracket-new-line` rule

- [#868](https://github.com/sveltejs/eslint-plugin-svelte/pull/868) [`edf99d3`](https://github.com/sveltejs/eslint-plugin-svelte/commit/edf99d3d7b7bf47def460efce4aabe59c2ce446d) Thanks [@mikededo](https://github.com/mikededo)! - feat(no-inspect): add `no-inspect` rule

### Patch Changes

- [#856](https://github.com/sveltejs/eslint-plugin-svelte/pull/856) [`cf6c842`](https://github.com/sveltejs/eslint-plugin-svelte/commit/cf6c842abc8730ef3841686a52273eec3906abcf) Thanks [@KuSh](https://github.com/KuSh)! - chore: Avoid using deprecated FlatConfig eslint type

## 2.44.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-svelte",
"version": "2.44.1",
"version": "2.45.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 packages/eslint-plugin-svelte/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';
export const version = '2.44.1';
export const version = '2.45.0';

0 comments on commit be8d9c9

Please sign in to comment.