diff --git a/.changeset/mighty-paws-play.md b/.changeset/mighty-paws-play.md deleted file mode 100644 index 395615281..000000000 --- a/.changeset/mighty-paws-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": patch ---- - -disable `no-self-assign` rule in Svelte files diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c8b10e6..9c434c389 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # eslint-plugin-svelte +## 2.27.2 + +### Patch Changes + +- [#455](https://github.com/sveltejs/eslint-plugin-svelte/pull/455) [`bfd8a29`](https://github.com/sveltejs/eslint-plugin-svelte/commit/bfd8a296ff852b58ba11a4854e7815f8fc7d7443) Thanks [@baseballyama](https://github.com/baseballyama)! - disable `no-self-assign` rule in Svelte files + ## 2.27.1 ### Patch Changes diff --git a/package.json b/package.json index c3f3c675a..9a21d7aeb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-svelte", - "version": "2.27.1", + "version": "2.27.2", "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", diff --git a/src/configs/base.ts b/src/configs/base.ts index 450d6bca5..8719cea7c 100644 --- a/src/configs/base.ts +++ b/src/configs/base.ts @@ -8,8 +8,6 @@ export = { // ESLint core rules known to cause problems with `.svelte`. "no-inner-declarations": "off", // The AST generated by svelte-eslint-parser will false positives in it rule because the root node of the script is not the `Program`. // "no-irregular-whitespace": "off", - // Self assign is one of way to update reactive value in Svelte. - "no-self-assign": "off", // eslint-plugin-svelte rules "svelte/comment-directive": "error",