DhanushNehru/breakout-game

[feat] Implement CI Pipeline for Linting

Open

#50 opened on Jun 8, 2024

 (1 comment) (0 reactions) (0 assignees)JavaScript (36 forks)auto 404
enhancementgood first issuehacktoberfesthacktoberfest-acceptedhelp wanted

Repository metrics

Stars
 (16 stars)
PR merge metrics
 (PR metrics pending)

Description

Description:

We need to set up a Continuous Integration (CI) pipeline for our project to ensure code quality and consistency. The CI pipeline should run linting checks automatically and fix any issues when possible.

Tasks:

Configure Linting:

  • Ensure npm run lint is set up to check for code style and quality issues.
  • Ensure npm run lint:fix is set up to automatically fix linting issues.

Set Up CI Pipeline:

  • Integrate a CI service (e.g., GitHub Actions, Travis CI, CircleCI) with our repository.
  • Create a configuration file (e.g., .github/workflows/lint.yml for GitHub Actions) to run linting commands on every push and pull request.

Expected Outcome:

  • Automated linting checks on each commit and pull request.
  • Consistent code style and reduced manual linting effort.

Additional Notes:

  • Ensure the pipeline is set up to provide clear feedback on linting errors.
  • Optionally, set up a badge in the README to display the CI status.

Contributor guide