Skip to content

chore: release eslint-plugin-svelte #297

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
Nov 14, 2022
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/mighty-buckets-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-books-raise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-boxes-warn.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.13.0

### Minor Changes

- [#303](https://github.com/ota-meshi/eslint-plugin-svelte/pull/303) [`747eae5`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/747eae528d8aadc0d31a64f04baa8f2e557e80c6) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: update svelte-eslint-parser to v0.21

- [#296](https://github.com/ota-meshi/eslint-plugin-svelte/pull/296) [`695e2e5`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/695e2e50762bf004af9200d7d05958e5cea08f70) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improve reporting range for `svelte/html-self-closing` rule.

- [#302](https://github.com/ota-meshi/eslint-plugin-svelte/pull/302) [`f0d3e68`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/f0d3e68f75f6a90d5f245313e96b3987fec6761f) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/no-dom-manipulating` rule

## 2.12.0

### Minor Changes
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-dom-manipulating.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-dom-manipulating"
description: "disallow DOM manipulating"
since: "v2.13.0"
---

# svelte/no-dom-manipulating

> disallow DOM manipulating

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

In general, DOM manipulating should delegate to Svelte runtime. If you manipulate the DOM directly, the Svelte runtime may confuse because there is a difference between the actual DOM and the Svelte runtime's expected DOM.
Expand Down Expand Up @@ -103,6 +102,10 @@ See also <https://svelte.jp/examples/custom-js-transitions>.

Nothing.

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/no-dom-manipulating.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.12.0",
"version": "2.13.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