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

Add code linting and CI checks #136

Merged
merged 12 commits into from
Dec 15, 2023

Conversation

Mr0grog
Copy link
Owner

@Mr0grog Mr0grog commented Dec 4, 2023

This supersedes #103. There are no real issues with that PR, but there have been a bunch of source changes since it was proposed that cause conflicts. It's easier to copy the configs over and re-correct things than adapt that branch.

Starting with just ESLint and testing CI, then will add Prettier.

@Mr0grog
Copy link
Owner Author

Mr0grog commented Dec 4, 2023

✅ Errors show up in diff correctly.

@Mr0grog Mr0grog marked this pull request as ready for review December 15, 2023 01:25
ESLint removed a bunch of formatting-related rules on the assumption that autoformatters like Prettier handle them and do a better job. For some cases, that's great; we can remove the rule and delegate to prettier. For others, we need the rule, which has moved out of ESLint core and into `@stylistic/eslint-plugin-js` (e.g. Prettier does not police the length of comments).
@Mr0grog Mr0grog force-pushed the 75-linting-is-table-stakes-and-yet-it-is-new-here branch from ac2cd3d to d21ec97 Compare December 15, 2023 01:26
@Mr0grog
Copy link
Owner Author

Mr0grog commented Dec 15, 2023

Did some final cleanup here (a few config bits different than #103, some deprecations in ESLint) and rebased on main. Should be good to go.

@Mr0grog Mr0grog merged commit b5f6961 into main Dec 15, 2023
@Mr0grog Mr0grog deleted the 75-linting-is-table-stakes-and-yet-it-is-new-here branch December 15, 2023 01:42
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.

1 participant