UNPKG

npm-package-json-lint

Version:
8 lines (7 loc) 442 B
import { PackageJson } from 'type-fest'; import { RuleType } from '../types/rule-type'; import { Severity } from '../types/severity'; import { OptionalObjectRuleConfig } from '../types/lint-function'; import { LintResult } from '../types/lint-result'; export declare const ruleType = RuleType.OptionalObject; export declare const lint: (packageJsonData: PackageJson | any, severity: Severity, config: OptionalObjectRuleConfig) => LintResult;