UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

12 lines (11 loc) 499 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatJsOutput = void 0; const os_1 = require("os"); const faqs_1 = require("./faqs"); const withKeysSorted_1 = require("./withKeysSorted"); const formatJsOutput = (configuration) => { return `${faqs_1.faqs}module.exports = ${JSON.stringify((0, withKeysSorted_1.withKeysSorted)(configuration), undefined, 4)};${os_1.EOL}`; }; exports.formatJsOutput = formatJsOutput; //# sourceMappingURL=formatJsOutput.js.map