UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

10 lines (9 loc) 360 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;