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

Updated eslint package, migrated to the new eslint config system #2196

Merged

Conversation

YaroslavChuiko
Copy link
Contributor

@YaroslavChuiko YaroslavChuiko commented Jul 26, 2024

In the eslint 9.0.0 version was introduced new configuration system and a lot of breaking changes

  1. Updated eslint package to 9.7.0 and migrated from a deprecated config system to a new one using this Configuration Migration Guide. Old config files .eslintrc.js, .eslintignore were deleted and created eslint.config.mjs instead of them
  2. Added new dev dependencies which are used in the new config file: @eslint/compat, @eslint/eslintrc, @eslint/js, globals
  3. Updated eslint plugins for compatibility with the new eslint version: eslint-config-prettier, eslint-plugin-prettier, eslint-plugin-react, eslint-plugin-react-hooks, eslint-plugin-storybook, eslint-plugin-testing-library, eslint-plugin-vitest-globals

@YaroslavChuiko YaroslavChuiko self-assigned this Jul 26, 2024
@YaroslavChuiko YaroslavChuiko linked an issue Jul 26, 2024 that may be closed by this pull request
1 task
@YaroslavChuiko YaroslavChuiko force-pushed the feature/2140/update-dependencies branch from 05ab47a to 811bf31 Compare July 27, 2024 13:26
@YaroslavChuiko YaroslavChuiko force-pushed the feature/2122/update-eslint branch from d538c0e to 4a41237 Compare July 27, 2024 13:32
@YaroslavChuiko YaroslavChuiko force-pushed the feature/2140/update-dependencies branch 3 times, most recently from 93a95f1 to a3de161 Compare July 29, 2024 09:59
@YaroslavChuiko YaroslavChuiko force-pushed the feature/2122/update-eslint branch from 4a41237 to aad8245 Compare July 29, 2024 10:18
@abalanovsky
Copy link
Contributor

Do we need to think about ignoring of eslint.config.mjs?

Copy link

@YaroslavChuiko YaroslavChuiko merged commit dac7149 into feature/2140/update-dependencies Jul 31, 2024
3 checks passed
@YaroslavChuiko YaroslavChuiko deleted the feature/2122/update-eslint branch July 31, 2024 11:36
YaroslavChuiko added a commit that referenced this pull request Oct 4, 2024
* updated eslint package, migrated to the new eslint config system

* excluded eslint.config.mjs from sonarCloud coverage check
YaroslavChuiko added a commit that referenced this pull request Oct 8, 2024
* updated eslint package, migrated to the new eslint config system

* excluded eslint.config.mjs from sonarCloud coverage check
YaroslavChuiko added a commit that referenced this pull request Oct 11, 2024
* updated @typescript-eslint/eslint-plugin and @typescript-eslint/parser

* fixed eslint errors

* Updated dependencies related to testing (#2161)

* updated dependencies related to testing

* Installed @testing-library/dom

* fixed warning

* updated Vite package (#2167)

* Updated eslint package, migrated to the new eslint config system (#2196)

* updated eslint package, migrated to the new eslint config system

* excluded eslint.config.mjs from sonarCloud coverage check

* updated @tinymce/tinymce-react package (#2169)

* updated husky package, updated husky hooks (#2218)

* updated i18next and react-i18next packages (#2255)

* updated jsdom package (#2257)

* updated jsdom package

* fixed unit test

* updated web-vitals package (#2253)

* Update date dependencies (#2252)

* Updated date dependencies, refactored

* Deleted npm check updates

* Fixed DateFilter tests

* Updated redux and redux toolkit (#2248)

* updated @typescript-eslint/eslint-plugin and @typescript-eslint/parser

* fixed eslint errors

* Updated redux and redux toolkit

* Expanded workflow triggers to include feature branches #2186 (#2187)

* Expanded workflow triggers to include feature branches #2186

* Optimization of workflow process

* delete sonar.branch.name (#2232)

* Fixed sonar issue

---------

Co-authored-by: YaroslavChuiko <[email protected]>
Co-authored-by: Olenka Hryk <[email protected]>
Co-authored-by: Yaroslav Chuiko <[email protected]>

* Updated nuka-carousel package (#2266)

* Updated nuka-carousel package

* Updated @types/react-swipeable-views package (#2254)

* Revert "Update date dependencies (#2252)"

This reverts commit bbd8bb7.

* update prepare script

* removed redundant useMemo

* fix eslint error

* fixed tests

* fixed scss deprecation warning

* updated node to v20.15.1 for docker compose and github actions

* updated package-lock.json

* fixed eslint errors

* fixed tests

* updated coverage exclusions

* Feature/enhancing test and build speed (#2581)

* Update main.yaml

adding caching and npm and removing deprecated job with docker

* deleted test branch

* Update main.yaml (#2583)

adding linter job

* Update main.yaml

* fixed error

---------

Co-authored-by: Artem Balanovskyi <[email protected]>
Co-authored-by: YaroslavLys <[email protected]>
Co-authored-by: Olenka Hryk <[email protected]>
Co-authored-by: Illia Pasichnichenko <[email protected]>
Co-authored-by: new-user888 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

( SP: 2) Update eslint
6 participants