eslint-plugin-sort-export-all
Version:
ESLint rule that helps sort export *
23 lines (18 loc) • 427 B
TypeScript
import { Rule } from 'eslint';
interface RuleModule<T extends ReadonlyArray<unknown>> extends Rule.RuleModule {
defaultOptions: T;
}
type Options = ["desc" | "ask", {
caseSensitive?: boolean;
natural?: boolean;
}] | [];
declare const plugin: {
meta: {
name: string;
version: string;
};
rules: {
"sort-export-all": RuleModule<Options>;
};
};
export { plugin as default };