eslint-plugin-repo-lint
Version:
Drop-in ESLint plugin that loads TypeScript rule files from a conventional .lints/ directory without a build step.
17 lines • 469 B
TypeScript
import type { TSESLint } from "@typescript-eslint/utils";
type Rule = TSESLint.RuleModule<string, readonly unknown[]>;
type PluginConfig = {
name?: string;
plugins: string[] | Record<string, unknown>;
rules: Record<string, "error">;
};
declare const plugin: {
meta: {
name: string;
version: string;
};
rules: Record<string, Rule>;
configs: Record<string, PluginConfig>;
};
export = plugin;
//# sourceMappingURL=index.d.ts.map