eslint-plugin-sort-export-all
Version:
ESLint rule that helps sort export *
13 lines (10 loc) • 331 B
TypeScript
import { Linter } from 'eslint';
import plugin from './index.js';
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 };