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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eslint config #5720

Merged
merged 6 commits into from May 8, 2024
Merged

Fix eslint config #5720

merged 6 commits into from May 8, 2024

Conversation

tjzel
Copy link
Contributor

@tjzel tjzel commented Feb 23, 2024

Summary

Because we use ESlint rules that require a parses, proper amendments to the .eslintrc.js had to be made. Because of that we can also finally extend main .eslintrc.js config in sub-directiories.

You can read more here.

As a note, I recommend eslint --print-config <file> to debug if the rules are actually extended etc.

Test plan

馃殌

@tjzel tjzel requested a review from Latropos February 23, 2024 10:16
@tomekzaw tomekzaw self-requested a review February 23, 2024 10:42
plugin/package.json Outdated Show resolved Hide resolved
@tjzel
Copy link
Contributor Author

tjzel commented Apr 27, 2024

@Latropos done!

@tjzel tjzel requested a review from Latropos April 27, 2024 12:37
Copy link
Contributor

@Latropos Latropos left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for your change!
Are you sure, that all the rules (especially our custom one) keep working? The newest eslint v9 introduced some breaking changes.
Also probably in the future we will have to migrate to newer config format.

@tjzel
Copy link
Contributor Author

tjzel commented May 6, 2024

@Latropos you were right, I actually had to downgrade it to ESlint 8 due to breaking changes 馃ぃ

@tjzel tjzel enabled auto-merge May 8, 2024 12:33
@tjzel tjzel added this pull request to the merge queue May 8, 2024
Merged via the queue into main with commit 42cb2bd May 8, 2024
16 of 17 checks passed
@tjzel tjzel deleted the @tjzel/eslint/fix-config-issues branch May 8, 2024 12:41
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.

None yet

2 participants