tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
12 lines (11 loc) • 500 B
TypeScript
import { TSLintToESLintSettings } from "../../types";
export type EditorConfigConverter = (rawEditorSettings: string, settings: TSLintToESLintSettings) => EditorConfigConversionResults;
export type EditorConfigConversionResults = {
contents: string;
missing: string[];
};
export type EditorConfigsConversionResults = {
failed: Map<string, Error>;
successes: Map<string, EditorConfigConversionResults>;
};
export type EditorConfigDescriptor = readonly [string, EditorConfigConverter];