eslint-plugin-kisszaya-fsd-plugin
Version:
Plugin to format code by fsd principles
16 lines (11 loc) • 335 B
text/typescript
import { RuleModule } from "@typescript-eslint/utils/ts-eslint";
import { ESLint } from "eslint";
import { rules } from "./rules";
type RuleKey = keyof typeof rules;
interface Plugin extends Omit<ESLint.Plugin, "rules"> {
rules: Record<RuleKey, RuleModule<any, any, any>>;
}
const plugin: Plugin = {
rules,
};
export = plugin;