PalisadoesFoundation / talawa-api

API Backend for the Talawa Mobile App. Click on the link below to see our documentation
https://docs.talawa.io/
GNU General Public License v3.0
212 stars 738 forks source link

Upgrade package `eslint` from 8.57.0 to 9.10.0 #2518

Open palisadoes opened 1 month ago

palisadoes commented 1 month ago

Rationale

  1. This was previously attempted by the automated dependabot job but the PR tests failed.
  2. This issue has been created to fix the issue as there may be multiple dependency requirements that need updating

This is a major revision upgrade and many files may need to be updated to the new syntax, functions, methods and classes

Background Failing PRs

image

Release Note Details

Bumps eslint from 8.57.0 to 9.10.0.

Release notes

Sourced from eslint's releases.

v9.10.0

Features

  • 301b90d feat: Add types (#18854) (Nicholas C. Zakas)
  • bcf0df5 feat: limit namespace import identifier in id-length rule (#18849) (ChaedongIm)
  • 45c18e1 feat: add requireFlag option to require-unicode-regexp rule (#18836) (Brett Zamir)
  • 183b459 feat: add error message for duplicate flags in no-invalid-regexp (#18837) (Tanuj Kanti)
  • c69b406 feat: report duplicate allowed flags in no-invalid-regexp (#18754) (Tanuj Kanti)

Documentation

  • bee0e7a docs: update README (#18865) (Milos Djermanovic)
  • 5d80b59 docs: specify that ruleId can be null in custom formatter docs (#18857) (Milos Djermanovic)
  • 156b1c3 docs: Update README (GitHub Actions Bot)
  • f6fdef9 docs: Update README (GitHub Actions Bot)
  • a20c870 docs: Update README (GitHub Actions Bot)
  • 90e699b docs: Update README (GitHub Actions Bot)

Chores

  • 24c3ff7 chore: upgrade to @​eslint/js@​9.10.0 (#18866) (Francesco Trotta)
  • 1ebdde1 chore: package.json update for @​eslint/js release (Jenkins)
  • e8fc5bd chore: update dependency @​eslint/core to ^0.5.0 (#18848) (renovate[bot])
  • 343f992 refactor: don't use node.value when removing unused directives (#18835) (Milos Djermanovic)
  • 3db18b0 refactor: Extract FileContext into class (#18831) (Nicholas C. Zakas)
  • 931d650 refactor: Use @​eslint/plugin-kit (#18822) (Nicholas C. Zakas)
  • ed5cf0c chore: update dependency @​eslint/json to ^0.4.0 (#18829) (Milos Djermanovic)
  • d1f0831 chore: added missing ids (#18817) (Strek)
  • ec92813 refactor: Config class (#18763) (Nicholas C. Zakas)

v9.9.1

Bug Fixes

  • 9bde90c fix: add logic to handle fixTypes in lintText() (#18736) (Amaresh S M)

Documentation

  • 4840930 docs: Update README with version support and clean up content (#18804) (Nicholas C. Zakas)
  • f61f40d docs: Update globals examples (#18805) (Nicholas C. Zakas)
  • 241fcea docs: Use and define languages (#18795) (Nicholas C. Zakas)
  • 5dbdd63 docs: eslint-plugin-markdown -> @​eslint/markdown (#18797) (Nicholas C. Zakas)
  • c6c8ddd docs: update links to eslint-visitor-keys repo (#18796) (Francesco Trotta)
  • f981d05 docs: Update README (GitHub Actions Bot)
  • b516974 docs: update links to eslint/js repo (#18781) (Francesco Trotta)
  • fb7a3f5 docs: update note for package managers (#18779) (Jay)

Chores

  • b0c34d0 chore: upgrade to @​eslint/js@​9.9.1 (#18809) (Francesco Trotta)
  • cd5a0da chore: package.json update for @​eslint/js release (Jenkins)
  • e112642 refactor: Extract parsing logic from Linter (#18790) (Nicholas C. Zakas)
  • 0f68a85 chore: use eslint-plugin-yml on yaml files only (#18801) (Milos Djermanovic)
  • f8d1b3c chore: update dependencies for browser tests (#18794) (Christian Bromann)
  • aed2624 chore: update dependency @​eslint/config-array to ^0.18.0 (#18788) (renovate[bot])
  • 5c29128 chore: update dependency @​eslint/core to ^0.4.0 (#18789) (renovate[bot])
  • 5d66fb2 chore: migrate linting workflow to use trunk check meta-linter (#18643) (Chris Clearwater)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.10.0 - September 6, 2024

  • 24c3ff7 chore: upgrade to @​eslint/js@​9.10.0 (#18866) (Francesco Trotta)
  • 1ebdde1 chore: package.json update for @​eslint/js release (Jenkins)
  • 301b90d feat: Add types (#18854) (Nicholas C. Zakas)
  • bee0e7a docs: update README (#18865) (Milos Djermanovic)
  • bcf0df5 feat: limit namespace import identifier in id-length rule (#18849) (ChaedongIm)
  • 45c18e1 feat: add requireFlag option to require-unicode-regexp rule (#18836) (Brett Zamir)
  • 5d80b59 docs: specify that ruleId can be null in custom formatter docs (#18857) (Milos Djermanovic)
  • 156b1c3 docs: Update README (GitHub Actions Bot)
  • e8fc5bd chore: update dependency @​eslint/core to ^0.5.0 (#18848) (renovate[bot])
  • 343f992 refactor: don't use node.value when removing unused directives (#18835) (Milos Djermanovic)
  • 183b459 feat: add error message for duplicate flags in no-invalid-regexp (#18837) (Tanuj Kanti)
  • f6fdef9 docs: Update README (GitHub Actions Bot)
  • c69b406 feat: report duplicate allowed flags in no-invalid-regexp (#18754) (Tanuj Kanti)
  • a20c870 docs: Update README (GitHub Actions Bot)
  • 90e699b docs: Update README (GitHub Actions Bot)
  • 3db18b0 refactor: Extract FileContext into class (#18831) (Nicholas C. Zakas)
  • 931d650 refactor: Use @​eslint/plugin-kit (#18822) (Nicholas C. Zakas)
  • ed5cf0c chore: update dependency @​eslint/json to ^0.4.0 (#18829) (Milos Djermanovic)
  • d1f0831 chore: added missing ids (#18817) (Strek)
  • ec92813 refactor: Config class (#18763) (Nicholas C. Zakas)

v9.9.1 - August 23, 2024

  • b0c34d0 chore: upgrade to @​eslint/js@​9.9.1 (#18809) (Francesco Trotta)
  • cd5a0da chore: package.json update for @​eslint/js release (Jenkins)
  • 4840930 docs: Update README with version support and clean up content (#18804) (Nicholas C. Zakas)
  • f61f40d docs: Update globals examples (#18805) (Nicholas C. Zakas)
  • e112642 refactor: Extract parsing logic from Linter (#18790) (Nicholas C. Zakas)
  • 241fcea docs: Use and define languages (#18795) (Nicholas C. Zakas)
  • 0f68a85 chore: use eslint-plugin-yml on yaml files only (#18801) (Milos Djermanovic)
  • 5dbdd63 docs: eslint-plugin-markdown -> @​eslint/markdown (#18797) (Nicholas C. Zakas)
  • c6c8ddd docs: update links to eslint-visitor-keys repo (#18796) (Francesco Trotta)
  • f8d1b3c chore: update dependencies for browser tests (#18794) (Christian Bromann)
  • aed2624 chore: update dependency @​eslint/config-array to ^0.18.0 (#18788) (renovate[bot])
  • 5c29128 chore: update dependency @​eslint/core to ^0.4.0 (#18789) (renovate[bot])
  • 5d66fb2 chore: migrate linting workflow to use trunk check meta-linter (#18643) (Chris Clearwater)
  • f981d05 docs: Update README (GitHub Actions Bot)
  • b516974 docs: update links to eslint/js repo (#18781) (Francesco Trotta)
  • fb7a3f5 docs: update note for package managers (#18779) (Jay)
  • bf96855 chore: add ids to github issue templates (#18775) (Strek)
  • 9bde90c fix: add logic to handle fixTypes in lintText() (#18736) (Amaresh S M)

v9.9.0 - August 9, 2024

  • 461b2c3 chore: upgrade to @eslint/js@9.9.0 (#18765) (Francesco Trotta)
  • 59dba1b chore: package.json update for @​eslint/js release (Jenkins)
  • fea8563 chore: update dependency @​eslint/core to ^0.3.0 (#18724) (renovate[bot])
  • 41d0206 feat: Add support for TS config files (#18134) (Arya Emami)

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sid-80 commented 1 month ago

@palisadoes I am willing to work on this issue!

toffee-k21 commented 1 month ago

@palisadoes Could you please assign this issue to me? I'd like to work on it.

Sid-80 commented 1 month ago

@palisadoes I have to upgrade the mongoose to 8.4.4. Is there any need of upgrading the eslint to 9.10.0

Sid-80 commented 3 weeks ago

@palisadoes I was updating the peer packages of the eslint to their compatible version of eslint "9.10.0". But "eslint-plugin-import" latest version is not compatible with "eslint" latest version.

image

github-actions[bot] commented 2 weeks ago

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

yashhash2 commented 2 weeks ago

@palisadoes can i be assigned this issue

palisadoes commented 1 week ago

Unassigning. Inactivity

Aryan4884 commented 5 days ago

@palisadoes Raised a PR. Please review .

varshith257 commented 4 days ago

@Aryan4884 You need to get assigned issue first and then raise PR. Submit PR once you get assigned