GoogleChromeLabs / web-audio-samples

Web Audio API samples by Chrome Web Audio Team
https://bit.ly/web-audio-samples
Apache License 2.0
695 stars 197 forks source link

Added Linting as a part of CI #393

Open tarunsinghofficial opened 2 months ago

tarunsinghofficial commented 2 months ago

Overview

This PR introduces and fixes #392 for automated linting to our Continuous Integration (CI) pipeline. It aims to ensure consistent code style and catch potential errors early in the development process.

Changes

Implementation Details

The new CI workflow does the following:

  1. Check out the code
  2. Sets up Node.js
  3. Installs dependencies
  4. Runs Prettier on all files
  5. Runs ESLint on all files
  6. For pull requests, run Prettier and ESLint on changed files only

Notes

Please review and let me know if any changes or additions are needed.

tarunsinghofficial commented 2 months ago

@hoch please review the PR, at your convenience. Thanks :)

tarunsinghofficial commented 2 weeks ago

hi @hoch. Any update on this?