tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
12 lines (11 loc) • 491 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatJsonOutput = void 0;
const os_1 = require("os");
const faqs_1 = require("./faqs");
const withKeysSorted_1 = require("./withKeysSorted");
const formatJsonOutput = (configuration) => {
return `${faqs_1.faqs}${JSON.stringify((0, withKeysSorted_1.withKeysSorted)(configuration), undefined, 4)}${os_1.EOL}`;
};
exports.formatJsonOutput = formatJsonOutput;
//# sourceMappingURL=formatJsonOutput.js.map