npm-package-json-lint
Version:
Configurable linter for package.json files.
7 lines (6 loc) • 333 B
TypeScript
import { PackageJson } from 'type-fest';
import { LintIssue } from '../lint-issue';
import { RuleType } from '../types/rule-type';
import { Severity } from '../types/severity';
export declare const ruleType = RuleType.Standard;
export declare const lint: (packageJsonData: PackageJson | any, severity: Severity) => LintIssue | null;