npm-package-json-lint
Version:
Configurable linter for package.json files.
15 lines (14 loc) • 595 B
TypeScript
import { n as Severity } from "./lint-issue.js";
import { t as LintResult } from "./lint-result.js";
import { PackageJson } from "type-fest";
//#region src/types/lint-function.d.ts
interface OptionalObjectRuleConfig {
exceptions?: string[];
}
//#endregion
//#region src/rules/no-absolute-version-dependencies.d.ts
declare const ruleType = RuleType.OptionalObject;
declare const lint: (packageJsonData: PackageJson | any, severity: Severity, config: OptionalObjectRuleConfig) => LintResult;
//#endregion
export { lint, ruleType };
//# sourceMappingURL=no-absolute-version-dependencies.d.ts.map