Skip to content

chore: release eslint-plugin-svelte #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/honest-garlics-march.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-impalas-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-brooms-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-donuts-jog.md

This file was deleted.

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

## 2.16.0

### Minor Changes

- [#358](https://github.com/ota-meshi/eslint-plugin-svelte/pull/358) [`3464f23`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/3464f2340ee1a45a4f50900eafe6435af9ba2931) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: update svelte-eslint-parser to v0.23

- [#332](https://github.com/ota-meshi/eslint-plugin-svelte/pull/332) [`26870cf`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/26870cf4eae7c682ae9d2741194fc23fdca9112e) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `svelte/nfinite-reactive-loop` rule

- [#354](https://github.com/ota-meshi/eslint-plugin-svelte/pull/354) [`2f1d89a`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/2f1d89a4cbb5845aa328f5889dd449c386f04bda) Thanks [@marekdedic](https://github.com/marekdedic)! - feat: added the `svelte/require-event-dispatcher-types` rule

### Patch Changes

- [#357](https://github.com/ota-meshi/eslint-plugin-svelte/pull/357) [`a561f99`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/a561f995a426ccb2d9a4066fc8cc264efbb74d7e) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: false positives for ts in `svelte/no-unused-svelte-ignore`

## 2.15.0

### Minor Changes
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/infinite-reactive-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/infinite-reactive-loop"
description: "Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent."
since: "v2.16.0"
---

# svelte/infinite-reactive-loop

> Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent.

- :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

Svelte runtime prevents calling the same reactive statement twice in a microtask.<br/>
Expand Down Expand Up @@ -94,6 +93,10 @@ Nothing.
- [Svelte - Docs > COMPONENT FORMAT > 3. $: marks a statement as reactive](https://svelte.dev/docs#component-format-script-3-$-marks-a-statement-as-reactive)
- [Svelte - Docs > COMPONENT FORMAT > 4. Prefix stores with $ to access their values](https://svelte.dev/docs#component-format-script-4-prefix-stores-with-$-to-access-their-values)

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/infinite-reactive-loop.ts)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/require-event-dispatcher-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "svelte/require-event-dispatcher-types"
description: "require type parameters for `createEventDispatcher`"
since: "v2.16.0"
---

# svelte/require-event-dispatcher-types

> require type parameters for `createEventDispatcher`

- :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 to enforce type parameters when calling `createEventDispatcher`. Adding types makes all `dispatch` calls as well as all event listeners typechecked. For more information, see the [svelte docs](https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#typing-component-events).
Expand Down Expand Up @@ -42,6 +41,10 @@ This rule is aimed to enforce type parameters when calling `createEventDispatche

Nothing.

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/require-event-dispatcher-types.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.15.0",
"version": "2.16.0",
"description": "ESLint plugin for Svelte using AST",
"repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git",
"homepage": "https://ota-meshi.github.io/eslint-plugin-svelte",
Expand Down