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(workflow): Add ESLint Workflow for Automated Code Quality Checks #232

Open
nitro56565 opened this issue Mar 13, 2025 · 1 comment · May be fixed by #301
Open

feat(workflow): Add ESLint Workflow for Automated Code Quality Checks #232

nitro56565 opened this issue Mar 13, 2025 · 1 comment · May be fixed by #301
Assignees

Comments

@nitro56565
Copy link
Contributor

nitro56565 commented Mar 13, 2025

Feature Request 🛍️

Use Case

We should add an automated ESLint workflow for our Template Playground. Right now, linting depends on developers running it manually, which leads to inconsistent formatting and missed errors. An automated check on every PR will ensure cleaner, more consistent code and save mentors time during code reviews.

Possible Solution

Runs on pull requests to main branch.

Sets up Node.js 18.x .

Installs dependencies (npm ci).

Runs eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 to ensure no errors or warnings sneak through.

Fails the workflow if any issues are found, blocking the PR until it's fixed.

Expected Outcome

Every PR gets automatically checked for linting errors. This keeps our codebase clean, saves time on reviews, and prevents formatting issues from ever hitting production.

@nitro56565
Copy link
Contributor Author

Hi @DianaLease I would love to work on this issue if its something which can help us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant