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

feat!: update dependency to eslint v9 @W-17448473 #141

Merged
merged 10 commits into from
Jan 7, 2025

Conversation

ravijayaramappa
Copy link
Contributor

@ravijayaramappa ravijayaramappa commented Jan 2, 2025

BREAKING CHANGE: dropping support for ESLint v7 and v8. The only supported option is ESLint v9

Fixes #128

Depends on salesforce/eslint-plugin-lightning#14

@ravijayaramappa ravijayaramappa changed the base branch from master to eslint-v9 January 3, 2025 09:34
@@ -1,6 +1,6 @@
version: 2.1

supported-eslint-versions: &supported-eslint-versions ['local', '7']
supported-eslint-versions: &supported-eslint-versions ['local', '9']
Copy link
Contributor

Choose a reason for hiding this comment

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

We do not need this logic anymore. We can just use the local ESLint version, since it's assumed to be v9.

@ravijayaramappa ravijayaramappa force-pushed the ravi/eslint-v9/update-eslint-dep branch 3 times, most recently from 08d2e1c to 7f64827 Compare January 4, 2025 02:27
@ravijayaramappa ravijayaramappa requested a review from a team January 7, 2025 03:21
README.md Outdated
@@ -12,70 +12,99 @@ Note that `@lwc/eslint-plugin-lwc`, `@salesforce/eslint-plugin-lightning`, `esli

## Usage

Add the appropriate [configuration](#Configurations) to the `extends` field in your configuration.
_Starting with v4.0.0, @salesforce/eslint-config-lwc only supports eslint@v9. Use @salesforce/eslint-config-lwc@v3.x for older versions of eslint._
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
_Starting with v4.0.0, @salesforce/eslint-config-lwc only supports eslint@v9. Use @salesforce/eslint-config-lwc@v3.x for older versions of eslint._
>[!IMPORTANT]
> Starting with v4.0.0, @salesforce/eslint-config-lwc only supports eslint v9. Use @salesforce/eslint-config-lwc v3 for older versions of eslint.

With the @ as written, it renders as an email link. 😕

Starting with v4.0.0, @salesforce/eslint-config-lwc only supports eslint@v9. Use @salesforce/eslint-config-lwc@v3.x for older versions of eslint.

@ravijayaramappa ravijayaramappa force-pushed the ravi/eslint-v9/update-eslint-dep branch from 0396917 to 80c4d7c Compare January 7, 2025 23:43
@ravijayaramappa ravijayaramappa force-pushed the ravi/eslint-v9/update-eslint-dep branch from 80c4d7c to 073f2a0 Compare January 7, 2025 23:48
@ravijayaramappa ravijayaramappa merged commit be4ee1c into eslint-v9 Jan 7, 2025
4 checks passed
@ravijayaramappa ravijayaramappa deleted the ravi/eslint-v9/update-eslint-dep branch January 7, 2025 23:52
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.

Add support for ESLint v9
3 participants