VRMS
VRMS copied to clipboard
add script to out put list of files containing linting errors
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.