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

Revert to eslint 8 - for now #623

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Revert to eslint 8 - for now #623

merged 3 commits into from
Oct 18, 2024

Conversation

iowillhoit
Copy link
Contributor

@iowillhoit iowillhoit commented Oct 17, 2024

What does this PR do?

Dependabot bumped eslint from 8 to 9. Version 9 is not supported by a number of repos that are not owned by the CLI team. It will take a coordinated effort to bring all of these up to date with eslint version 9.

This reverts back to version 8 and also sets dependabot to ignore major version bumps.

Testing

  • Pull this branch
  • Run yarn compile
  • Run yarn link
  • cd to plugin-templates
  • Run yarn link "@salesforce/templates"
  • Run yarn compile
  • Run bin/run.js project generate --output-dir tmp --name foo
  • Run cd tmp/foo
  • Run npm install
  • It should install

What issues does this PR fix or reference?

This work:
@W-17005525@
forcedotcom/cli#3065

Future work:
@W-16958727@

Related:
forcedotcom/cli#3056
forcedotcom/cli#3042
forcedotcom/cli#2986

@cristiand391 cristiand391 merged commit 168bca5 into main Oct 18, 2024
7 checks passed
@cristiand391 cristiand391 deleted the ew/eslint-to-8-for-now branch October 18, 2024 18:56
@iowillhoit iowillhoit restored the ew/eslint-to-8-for-now branch October 31, 2024 16:06
@@ -22,7 +22,7 @@
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^5.1.0",
"eslint": "^9.9.1",
"eslint": "^8.57.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iowillhoit is there a reason 8.57.0 was chosen? 8.57.1 is last eslint v8 release published on Sep. 16

https://eslint.org/blog/2024/09/eslint-v8.57.1-released/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants