-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESLint 9, flat config migration (#145)
Co-authored-by: Adam Skoufis <askoufis@users.noreply.github.com>
- Loading branch information
Showing
12 changed files
with
2,732 additions
and
2,485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'eslint-config-seek': major | ||
--- | ||
|
||
Some [language options](https://eslint.org/docs/latest/use/configure/language-options) have been restored to defaults: | ||
|
||
- `sourceType` is now set to the default of `module` (previously `script` in some scenarios). | ||
- `ecmaVersion` is now set to the default of `latest` (previously `2022` and `6`) | ||
- Babel has been removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'eslint-config-seek': minor | ||
--- | ||
|
||
Upgrade a number of dependencies. These should have no/minimal impact. | ||
|
||
- `eslint-plugin-cypress` | ||
- `eslint-config-prettier` | ||
- `eslint-plugin-jest` | ||
- `eslint-plugin-react`, `eslint-plugin-react-hooks` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'eslint-config-seek': major | ||
--- | ||
|
||
Replace `eslint-plugin-import` with `eslint-plugin-import-x` | ||
|
||
To migrate, any references to `eslint-plugin-import` should be replaced with `eslint-plugin-import-x`, and `import/` rules with `import-x/`. | ||
|
||
In addition, it's possible that this may introduce slight behaviour changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'eslint-config-seek': major | ||
--- | ||
|
||
Require TypeScript peer dependency >=5.5.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
'eslint-config-seek': major | ||
--- | ||
|
||
Migrate to ESLint 9, `@typescript-eslint` 8. | ||
|
||
These changes may affect your project setup if you are customising your ESLint configuration. See the individual migration guides: | ||
|
||
- https://eslint.org/docs/latest/use/migrate-to-9.0.0 | ||
- https://typescript-eslint.io/blog/announcing-typescript-eslint-v8 | ||
|
||
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. |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
* @seek-oss/sku-maintainers | ||
* @seek-oss/front-end-contributors | ||
* @seek-oss/sku-maintainers @seek-oss/sig-backend-tooling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.