UNPKG

@exadel/eslint-plugin-esl

Version:

Helper ESLint rules to find and migrate ESL (@exadel/esl) library deprecations

12 lines (11 loc) 430 B
import type { Rule } from 'eslint'; export interface ESLintDeprecationImportCfg { /** Alias name */ alias: string; /** Deprecated name */ deprecationPath: string; /** Recommended path */ recommendedPath: string; } /** Builds deprecation rule from {@link ESLintDeprecationCfg} object */ export declare function buildRule(configs: ESLintDeprecationImportCfg | ESLintDeprecationImportCfg[]): Rule.RuleModule;