@exadel/eslint-plugin-esl
Version:
Helper ESLint rules to find and migrate ESL (@exadel/esl) library deprecations
10 lines (9 loc) • 359 B
TypeScript
import type { Rule } from 'eslint';
export interface ESLintDeprecationCfg {
/** Current alias name */
alias: string;
/** Deprecated name */
deprecation: string;
}
/** Builds deprecation rule from {@link ESLintDeprecationCfg} object */
export declare function buildRule(configs: ESLintDeprecationCfg | ESLintDeprecationCfg[]): Rule.RuleModule;