Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^13.0.0
->^14.0.0
Release Notes
seek-oss/eslint-config-seek (eslint-config-seek)
v14.1.0
Compare Source
Minor Changes
Upgrade
eslint-plugin-react-hooks
to version 5, removing the need for@eslint/compat
. (#155)eslint-plugin-react-hooks
contains some minor rule changes. Refer to the release notes for more information.v14.0.2
Compare Source
Patch Changes
eslint-config-prettier
overrides over the base rules (#152)v14.0.1
Compare Source
Patch Changes
file
scopes, to allow for improved extensibility (#149)v14.0.0
Compare Source
Major Changes
Some language options have been restored to defaults: (#145)
sourceType
is now set to the default ofmodule
(previouslyscript
in some scenarios).ecmaVersion
is now set to the default oflatest
(previously2022
and6
)Replace
eslint-plugin-import
witheslint-plugin-import-x
(#145)To migrate, any references to
eslint-plugin-import
should be replaced witheslint-plugin-import-x
, andimport/
rules withimport-x/
.In addition, it's possible that this may introduce slight behaviour changes.
Require TypeScript peer dependency >=5.5.4 (#145)
Migrate to ESLint 9,
@typescript-eslint
8. (#145)These changes may affect your project setup if you are customising your ESLint configuration. See the individual migration guides:
In addition, through these major upgrades, some lint rules have changed or have been renamed. You will likely need to autofix and/or adjust your code after running ESLint.
As part of this migration, this project has migrated to Flat ESLint configuration. Read the migration guide: https://eslint.org/docs/latest/use/configure/migration-guide.
Minor Changes
Upgrade a number of dependencies. These should have no/minimal impact. (#145)
eslint-plugin-cypress
eslint-config-prettier
eslint-plugin-jest
eslint-plugin-react
,eslint-plugin-react-hooks
v13.1.1
Compare Source
Patch Changes
eslint-import-resolver-typescript
dependency (#143)v13.1.0
Compare Source
Minor Changes
This disallows fallthrough of case statements in switch statements.
Examples
You need to add a
break
,return
orthrow
to each case. You can also skip this rule if it is intentionally absent (however that is a rare scenario).switch (name) { case 'John': console.log('Hi John'); + break; }
Patch Changes
Disable
@typescript-eslint/consistent-type-definition
rule (#139)Revert from [
@finsit/eslint-plugin-cypress
][@finsit/eslint-plugin-cypress] back to [eslint-plugin-cypress
][eslint-plugin-cypress] (#141)The official plugin now supports ESLint v8. Consumers that were overriding
@finsit/cypress/*
rules will need to overridecypress/*
rules instead.Configuration
📅 Schedule: Branch creation - "after 3:00 am and before 6:00 am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.