Skip to content

Commit 8519dc1

Browse files
Version Packages (#140)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 14f99b3 commit 8519dc1

5 files changed

+35
-38
lines changed

.changeset/afraid-candles-breathe.md

-7
This file was deleted.

.changeset/famous-cobras-join.md

-10
This file was deleted.

.changeset/young-cooks-own.md

-20
This file was deleted.

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# eslint-config-seek
22

3+
## 13.1.0
4+
5+
### Minor Changes
6+
7+
- Adds [no-fallthrough][docs] as an error. ([#135](https://github.com/seek-oss/eslint-config-seek/pull/135))
8+
This disallows fallthrough of case statements in switch statements.
9+
10+
[docs]: https://eslint.org/docs/latest/rules/no-fallthrough
11+
12+
### Examples
13+
14+
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).
15+
16+
```diff
17+
switch (name) {
18+
case 'John':
19+
console.log('Hi John');
20+
+ break;
21+
}
22+
```
23+
24+
### Patch Changes
25+
26+
- Disable [`@typescript-eslint/consistent-type-definition` rule][rule] ([#139](https://github.com/seek-oss/eslint-config-seek/pull/139))
27+
28+
[rule]: https://typescript-eslint.io/rules/consistent-type-definitions/
29+
30+
- Revert from [`@finsit/eslint-plugin-cypress`] back to [`eslint-plugin-cypress`] ([#141](https://github.com/seek-oss/eslint-config-seek/pull/141))
31+
32+
The official plugin now supports ESLint v8. Consumers that were overriding `@finsit/cypress/*` rules will need to override `cypress/*` rules instead.
33+
34+
[`@finsit/eslint-plugin-cypress`]: https://github.com/foretagsplatsen/eslint-plugin-cypress
35+
[`eslint-plugin-cypress`]: https://github.com/cypress-io/eslint-plugin-cypress
36+
337
## 13.0.0
438

539
### Major Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-seek",
3-
"version": "13.0.0",
3+
"version": "13.1.0",
44
"description": "ESLint configuration used by SEEK",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)