UNPKG

npm-package-json-lint

Version:
8 lines (7 loc) 390 B
import { PackageJson } from 'type-fest'; import { LintResult } from '../types/lint-result'; import { RuleType } from '../types/rule-type'; import { Severity } from '../types/severity'; export declare const ruleType = RuleType.Array; export declare const minItems = 1; export declare const lint: (packageJsonData: PackageJson | any, severity: Severity, validValues: object[]) => LintResult;