npm-package-json-lint
Version:
Configurable linter for package.json files.
24 lines (23 loc) • 463 B
TypeScript
import { LintIssue } from '../lint-issue';
export interface PackageJsonFileLintingResult {
/**
* File path to the package.json file
*/
filePath: string;
/**
* A list of issues.
*/
issues: LintIssue[];
/**
* A flag indicating that the file was skipped.
*/
ignored: boolean;
/**
* Number of errors.
*/
errorCount: number;
/**
* Number of warnings.
*/
warningCount: number;
}