Skip to content
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

Version Packages #140

Merged
merged 1 commit into from
Apr 30, 2024
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
7 changes: 0 additions & 7 deletions .changeset/afraid-candles-breathe.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/famous-cobras-join.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/young-cooks-own.md

This file was deleted.

34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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-config-seek",
"version": "13.0.0",
"version": "13.1.0",
"description": "ESLint configuration used by SEEK",
"main": "index.js",
"files": [
Expand Down
Loading