Closed palisadoes closed 9 months ago
would like to contribute. pls assign!
@noman2002 @palisadoes i would like to work on this
Can I work on this issue.
I want to work on this.
Can you assign this issue to me
@nakul30 you can look for other issues. I am already working on this issue.
@nakul30 If the issue has already been assigned, please don't ask to be assigned. We want everyone to get a chance.
@Sejal1411
The automated dependabot process created a PR to upgrade to v6.18.1 that we had to close knowing that you were working on this. Please submit a PR soon. The current version will probably be deprecated soon.
yes @palisadoes! I will submit the PR in 1-2 days.
@palisadoes Unassigning because unable to reach a solution.
I would like to work on this issue.
I would like to work on this issue.
@palisadoes Would I proceed with upgrading @typescript-eslint/eslint-plugin from 5.62.0 to 6.18.0 ? They released eslint-plugin latest version -- 6.19.0 2 days back. In my opinion, if we proceed with 6.18.0 the Dependabot again will make conflicts regarding this. Need your suggestion
Upgrade to the latest version
@palisadoes Need your review and suggestion Upgraded the packages typescript-eslint/eslint-package to v16.9.0 and dependency peer requirements are also updated. But when running lint:check it causing new error. I tried in all ways from myside to resolve this issue through checking .eslintintric.json and tsconfig.json and they aren't found any solutions, even tried through upgrading to v16.8.0 but no results.
I have checked the paths and compatibility everything looks fine but leading to fail with this error:
Error cause --> .eslintric.json
eslint
.eslint
packages together.@palisadoes Have tried the same way , here's result:
Have been referred their documentation in thought of compatibility issues and been checked with solving them but same error. https://main--typescript-eslint.netlify.app/users/dependency-versions
@palisadoes
I have rectified the root cause for this error. The updated package of eslint is working fine but as stated in override rules in. eslintric.json when .graphsql file occurs in linting process it has to override parser with eslint/graphsql-plugin-parser but in upgrading version it's not working.
@palisadoes The cause is to latest guidelines of eslint. In the src/typeDefs/directives.ts the error message says it occurred on a .graphql file. linting graphql files (or rather graphql fragments within TS files). Those do not have type information - hence they don't work.
In my opinion, I think we have to change override rules.
Is there a way to run a separate linter script just for that directory that the GraphQL linter uses? Possibly using a single command to run both scripts?
@palisadoes the possible error occurred due to no type which is part of validation of graphsql-parser in that typeDefs/directives.ts . Approach : We need to check files in src/typeDefs whether they required graphsql lint check necessary:
This error occurred because in override rules in .eslintric.json we included rules for directory /src/typeDefs to include graphsql-parser. The override rules have to change in eslintric.json
@palisadoes Would I proceed with above approach? Need your review.
Please investigate the best approach and open a PR.
- We want the lighting functionality maintained
I just gave you my opinion on this
@varshith257
We have a policy of unassigning contributors who close PRs without getting validation from our reviewer team. This is because:
Please be considerate of our volunteers' limited time and our desire to improve our code base.
This policy is stated as a pinned post in all our Talawa repositories.
@palisadoes The PR has been deleted due to errors stashed in my fork which have been deleted just now. So, the pull request has been deleted for that reason. Sorry, for the inconvenience caused. Can I get assigned this issue? Can make an immediate PR.
Rationale
Task
Upgrade @typescript-eslint/eslint-plugin from 5.62.0 to 6.18.0.
Background Failing PRs
Release Note Details
Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
21460ef
chore(release): publish 6.18.0d0977ab
chore: use nx release (#8194)684d626
docs(eslint-plugin): [switch-exhaustiveness-check] remove extra quotes in rul...f7b5ca8
feat(eslint-plugin): [no-var-requires, no-require-imports] allow option (#7710)1a8e0dc
feat(typescript-estree): throw on invalid update expressions (#7202)e566a5d
chore: publish v6.17.0675e987
fix(eslint-plugin): [no-restricted-imports] prevent crash whenpatterns
or ...5857356
feat(eslint-plugin): [no-floating-promises] flag result of .map(async) (#7897)6a219bd
feat(eslint-plugin): [switch-exhaustiveness-check] add an option to warn agai...5ad1b76
docs: modify examples for explicit-module-boundary-types (#7404)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