From 8d588e59367e76d6f76ab0ab0b155e08798d8cfe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Sep 2022 12:35:18 +0000 Subject: [PATCH] chore: release eslint-plugin-svelte --- .changeset/chilly-olives-check.md | 5 ----- .changeset/real-wasps-punch.md | 5 ----- CHANGELOG.md | 10 ++++++++++ .../@typescript-eslint/no-unnecessary-condition.md | 6 +++++- package.json | 2 +- 5 files changed, 16 insertions(+), 12 deletions(-) delete mode 100644 .changeset/chilly-olives-check.md delete mode 100644 .changeset/real-wasps-punch.md diff --git a/.changeset/chilly-olives-check.md b/.changeset/chilly-olives-check.md deleted file mode 100644 index 9d85b2b59..000000000 --- a/.changeset/chilly-olives-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": patch ---- - -fix: false report in `settings.ignoreWarnings` diff --git a/.changeset/real-wasps-punch.md b/.changeset/real-wasps-punch.md deleted file mode 100644 index 3f5f99689..000000000 --- a/.changeset/real-wasps-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-svelte": minor ---- - -feat: add `svelte/@typescript-eslint/no-unnecessary-condition` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index 924a06b62..6cc041836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # eslint-plugin-svelte +## 2.9.0 + +### Minor Changes + +- [#262](https://github.com/ota-meshi/eslint-plugin-svelte/pull/262) [`b732ec6`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/b732ec621b1832ddf214ca3bb556d1c0b9ead463) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add `svelte/@typescript-eslint/no-unnecessary-condition` rule + +### Patch Changes + +- [#261](https://github.com/ota-meshi/eslint-plugin-svelte/pull/261) [`3dae5ab`](https://github.com/ota-meshi/eslint-plugin-svelte/commit/3dae5abe1ac9487697784109e31370641efb204f) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: false report in `settings.ignoreWarnings` + ## 2.8.0 ### Minor Changes diff --git a/docs/rules/@typescript-eslint/no-unnecessary-condition.md b/docs/rules/@typescript-eslint/no-unnecessary-condition.md index 4fca6df3e..2857e52f0 100644 --- a/docs/rules/@typescript-eslint/no-unnecessary-condition.md +++ b/docs/rules/@typescript-eslint/no-unnecessary-condition.md @@ -3,13 +3,13 @@ pageClass: "rule-details" sidebarDepth: 0 title: "svelte/@typescript-eslint/no-unnecessary-condition" description: "disallow conditionals where the type is always truthy or always falsy" +since: "v2.9.0" --- # svelte/@typescript-eslint/no-unnecessary-condition > disallow conditionals where the type is always truthy or always falsy -- :exclamation: **_This rule has not been released yet._** - :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 @@ -60,6 +60,10 @@ Same as [@typescript-eslint/no-unnecessary-condition] rule option. See [here](ht [@typescript-eslint/no-unnecessary-condition]: https://typescript-eslint.io/rules/no-unnecessary-condition/ +## :rocket: Version + +This rule was introduced in eslint-plugin-svelte v2.9.0 + ## :mag: Implementation - [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/@typescript-eslint/no-unnecessary-condition.ts) diff --git a/package.json b/package.json index f3cbb8a35..5bd3fd5e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-svelte", - "version": "2.8.0", + "version": "2.9.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",