Skip to content

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

@nitro56565

Description

@nitro56565

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions