UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

5 lines (4 loc) 344 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;