Skip to content

Create script to output list of files containing linting errors #1968

@JackHaeg

Description

@JackHaeg

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

  • Investigate using npx eslint . with formatting or flags to output only filenames with lint errors.
  • Experiment with filtering techniques (e.g., using --format json or --quiet) to extract just the file paths.
  • 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.
  • Include count of files with lint errors.
  • Add the script to package.json under scripts for ease of use (e.g., "lint:files": "node scripts/list-lint-files.js").

Resources/Instructions

Metadata

Metadata

Assignees

Type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions