R006 MissingIdentifiers
- Applies to
- App-only. Rules files in pull requests, through P014 in the GitHub App. Not run on the lint page.
- Severity
- Warning (P014 finding; not scored)
- Summary
- A rules file names a path, script, or target that does not exist in the repository.
- Flags
- App-only, through P014. Paths: inline code, link targets, and bare relative paths with a file extension; two or more segments, first segment present beside the rules file or at the root. Commands: npm/pnpm/yarn/bun run scripts (and npm test, and names with ':'), make targets, MSBuild -t: targets, dotnet project paths. Skipped: gitignored paths, generated folders, placeholders, example names, export subpaths under a package folder, lines that describe a file as an example, to create, forbidden, removed, or generated, and scripts in workspace repos not found beside the rules file or at the root. Changed rules files: every reference. Unchanged rules files: only references broken by paths or scripts the pull request removes or renames.
- Measured false-positive rate
- Not measured per finding (App-only; judged per file in field note 1). Methodology
Before
- Run `npm run check-version` before deploying.
- Hooks live in `src/hooks/`.
After
- Run `npm run lint` before committing.
- Hooks live in `src/lib/hooks/`.
Fix
- Update the reference, or restore what it names.