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

chore(ci): Configure eslint in CI #9

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hairmare
Copy link
Member

@hairmare hairmare commented Jan 25, 2025

Configure eslint to run against the code. Based on the Next.JS reference configuration. eslint does static testing, it's raison d'être is to ensure that the quality of code matches what can be reasonably expected from a modern next application. This improves the security, readability, and maintainability of the code.

Since the next/ folder was initialized with typescript support, we configure eslint for typescript.

note: A high amount of eslint complaints is expected when initially adopting eslint. Most likely they consist of a ton of low hanging fruit that can be easily auto-fixed.

@hairmare hairmare marked this pull request as draft January 25, 2025 11:20
* Run `next lint` on pull requests
@hairmare hairmare force-pushed the chore/eslint-configuration branch from 5b88139 to 650fbc6 Compare January 26, 2025 09:45
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.

Code scanning with eslint
1 participant