UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

4 lines (3 loc) 337 B
import { RuleConverter } from "../lintConfigs/rules/ruleConverter"; import { FileComment } from "./parseFileComments"; export declare const replaceFileComments: (content: string, comments: FileComment[], converters: Map<string, RuleConverter>, ruleCommentsCache: Map<string, string[]>, ruleEquivalents: Map<string, string[]>) => string;