UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

15 lines 465 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConfigurationError = void 0; const os_1 = require("os"); class ConfigurationError { constructor(error, complaint) { this.error = error; this.complaint = complaint; } getSummary() { return `${this.complaint}: ${this.error.stack}${os_1.EOL}`; } } exports.ConfigurationError = ConfigurationError; //# sourceMappingURL=configurationError.js.map