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

fix: Run ESLint on JS files, sort imports #13

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Conversation

lachlancollins
Copy link
Member

@lachlancollins lachlancollins commented Jan 3, 2024

When I added more ESLint rules, nothing happened. Seems like we forgot to tell eslint to include .js files! This PR corrects ESLint to ensure it runs on all the source files, and adds some new rules from eslint-plugin-import to keep imports sorted nicely (config from the query repo). I've also fixed a no-shadow rule in the publish function.

Copy link
Member

@crutchcorn crutchcorn left a comment

Choose a reason for hiding this comment

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

Great catch!

@lachlancollins lachlancollins merged commit fb7fcb8 into main Jan 3, 2024
1 check passed
@lachlancollins lachlancollins deleted the fix-eslint branch January 3, 2024 23:37
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.

2 participants