VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

add script to out put list of files containing linting errors

Open angela-lee1 opened this issue 5 months ago • 2 comments

Fixes #1968

What changes did you make and why did you make them?

"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."

  • Create a reusable script, scripts/list-lint-files.js.
  • Add the command "lint:files": "node scripts/list-lint-files.js"in the package.json
  • It outputs a list of affected files in JSON format with a relative file path.
  • It outputs the total number of affected files in a TXT file.

angela-lee1 avatar Aug 10 '25 23:08 angela-lee1

@angela-lee1 The script looks good! Could you add lint-files.count.txt and lint-report.json to .gitignore? We don't usually push generated reports to the repo. What do you think?

bconti123 avatar Nov 01 '25 01:11 bconti123

Thank you, @bconti123! I will take a look at it.

angela-lee1 avatar Nov 02 '25 18:11 angela-lee1