eslint-plugin-sort-export-all
Version:
ESLint rule that helps sort export *
13 lines (10 loc) • 332 B
text/typescript
import { Linter } from 'eslint';
import plugin from './index.mjs';
type RuleDefinitions = (typeof plugin)["rules"];
type RuleOptions = {
[K in keyof RuleDefinitions]: RuleDefinitions[K]["defaultOptions"];
};
type Rules = {
[K in keyof RuleOptions]: Linter.RuleEntry<RuleOptions[K]>;
};
export type { RuleOptions, Rules };