From 70f1785f778d35c9feef0b62b47cbc47c90aa711 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 30 Apr 2024 00:10:32 +0000 Subject: [PATCH] Version Packages --- .changeset/afraid-candles-breathe.md | 7 ------ .changeset/famous-cobras-join.md | 10 -------- .changeset/young-cooks-own.md | 20 ---------------- CHANGELOG.md | 34 ++++++++++++++++++++++++++++ package.json | 2 +- 5 files changed, 35 insertions(+), 38 deletions(-) delete mode 100644 .changeset/afraid-candles-breathe.md delete mode 100644 .changeset/famous-cobras-join.md delete mode 100644 .changeset/young-cooks-own.md diff --git a/.changeset/afraid-candles-breathe.md b/.changeset/afraid-candles-breathe.md deleted file mode 100644 index e99e148..0000000 --- a/.changeset/afraid-candles-breathe.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'eslint-config-seek': patch ---- - -Disable [`@typescript-eslint/consistent-type-definition` rule][rule] - -[rule]: https://typescript-eslint.io/rules/consistent-type-definitions/ diff --git a/.changeset/famous-cobras-join.md b/.changeset/famous-cobras-join.md deleted file mode 100644 index 8862bbd..0000000 --- a/.changeset/famous-cobras-join.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'eslint-config-seek': patch ---- - -Revert from [`@finsit/eslint-plugin-cypress`] back to [`eslint-plugin-cypress`] - -The official plugin now supports ESLint v8. Consumers that were overriding `@finsit/cypress/*` rules will need to override `cypress/*` rules instead. - -[`@finsit/eslint-plugin-cypress`]: https://github.com/foretagsplatsen/eslint-plugin-cypress -[`eslint-plugin-cypress`]: https://github.com/cypress-io/eslint-plugin-cypress diff --git a/.changeset/young-cooks-own.md b/.changeset/young-cooks-own.md deleted file mode 100644 index 05c80c0..0000000 --- a/.changeset/young-cooks-own.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'eslint-config-seek': minor ---- - -Adds [no-fallthrough][docs] as an error. -This disallows fallthrough of case statements in switch statements. - -[docs]: https://eslint.org/docs/latest/rules/no-fallthrough - -### Examples - -You need to add a `break`, `return` or `throw` to each case. You can also skip this rule if it is intentionally absent (however that is a rare scenario). - -```diff -switch (name) { - case 'John': - console.log('Hi John'); -+ break; -} -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 143506c..bf7615c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # eslint-config-seek +## 13.1.0 + +### Minor Changes + +- Adds [no-fallthrough][docs] as an error. ([#135](https://github.com/seek-oss/eslint-config-seek/pull/135)) + This disallows fallthrough of case statements in switch statements. + + [docs]: https://eslint.org/docs/latest/rules/no-fallthrough + + ### Examples + + You need to add a `break`, `return` or `throw` to each case. You can also skip this rule if it is intentionally absent (however that is a rare scenario). + + ```diff + switch (name) { + case 'John': + console.log('Hi John'); + + break; + } + ``` + +### Patch Changes + +- Disable [`@typescript-eslint/consistent-type-definition` rule][rule] ([#139](https://github.com/seek-oss/eslint-config-seek/pull/139)) + + [rule]: https://typescript-eslint.io/rules/consistent-type-definitions/ + +- Revert from [`@finsit/eslint-plugin-cypress`] back to [`eslint-plugin-cypress`] ([#141](https://github.com/seek-oss/eslint-config-seek/pull/141)) + + The official plugin now supports ESLint v8. Consumers that were overriding `@finsit/cypress/*` rules will need to override `cypress/*` rules instead. + + [`@finsit/eslint-plugin-cypress`]: https://github.com/foretagsplatsen/eslint-plugin-cypress + [`eslint-plugin-cypress`]: https://github.com/cypress-io/eslint-plugin-cypress + ## 13.0.0 ### Major Changes diff --git a/package.json b/package.json index fa8ccca..6fff52f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-seek", - "version": "13.0.0", + "version": "13.1.0", "description": "ESLint configuration used by SEEK", "main": "index.js", "files": [