npm-package-json-lint
Version:
Configurable linter for package.json files.
7 lines (6 loc) • 366 B
TypeScript
import { PackageJson } from 'type-fest';
import { RuleType } from '../types/rule-type';
import { Severity } from '../types/severity';
import { LintResult } from '../types/lint-result';
export declare const ruleType = RuleType.Object;
export declare const lint: (packageJsonData: PackageJson | any, severity: Severity, config: Record<string, boolean>) => LintResult;