eslint-plugin-command
Version:
Comment-as-command for one-off codemod with ESLint
50 lines (26 loc) • 1.24 kB
text/typescript
import { Command } from './types.mjs';
export { defineCommand } from './types.mjs';
import '@typescript-eslint/utils';
declare const hoistRegExp: Command;
declare const inlineArrow: Command;
declare const keepAligned: Command;
declare const keepSorted: Command;
declare const keepUnique: Command;
declare const noShorthand: Command;
declare const noType: Command;
declare const noXAbove: Command;
declare const regex101: Command;
declare const reverseIfElse: Command;
declare const toArrow: Command;
declare const toDestructuring: Command;
declare const toDynamicImport: Command;
declare const toForEach: Command;
declare const toForOf: Command;
declare const toFunction: Command;
declare const toOneLine: Command;
declare const toPromiseAll: Command;
declare const toStringLiteral: Command;
declare const toTemplateLiteral: Command;
declare const toTernary: Command;
declare const builtinCommands: Command[];
export { Command, builtinCommands, hoistRegExp, inlineArrow, keepAligned, keepSorted, keepUnique, noShorthand, noType, noXAbove, regex101, reverseIfElse, toArrow, toDestructuring, toDynamicImport, toForEach, toForOf, toFunction, toOneLine, toPromiseAll, toStringLiteral, toTemplateLiteral, toTernary };