VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Create script to output list of files containing linting errors

Open JackHaeg opened this issue 7 months ago • 3 comments

Overview

To streamline linting remediation across the VRMS codebase, we need a script that outputs a list of files with linting errors. This will help prioritize fixes and track progress, and align work across team members.

Action Items

  • [x] Investigate using npx eslint . with formatting or flags to output only filenames with lint errors.
  • [x] Experiment with filtering techniques (e.g., using --format json or --quiet) to extract just the file paths.
  • [x] Create a reusable script (e.g., scripts/list-lint-files.js or shell script) that outputs a clean list of affected files.
  • [ ] Test output across multiple folders to ensure compatibility and accuracy.
  • [x] Include count of files with lint errors.
  • [x] Add the script to package.json under scripts for ease of use (e.g., "lint:files": "node scripts/list-lint-files.js").
    • [ ] Paste instructions on how to run script within the resources section of the epic: https://github.com/hackforla/VRMS/issues/1966

Resources/Instructions

JackHaeg avatar Jun 18 '25 21:06 JackHaeg