UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

8 lines (7 loc) 355 B
import { ConversionError } from "../../../errors/conversionError"; import { RuleConverter } from "./ruleConverter"; import { TSLintRuleOptions } from "./types"; export declare const convertRule: ( tslintRule: TSLintRuleOptions, converters: Map<string, RuleConverter>, ) => ConversionError | import("./ruleConverter").ConversionResult | undefined;