tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
25 lines • 830 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertNoEmptyLineAfterOpeningBrace = void 0;
const convertNoEmptyLineAfterOpeningBrace = () => {
return {
rules: [
{
notices: [
"ESLint's padded-blocks rule also bans a blank line before a closing brace.",
],
ruleArguments: [
{
blocks: "never",
},
{
allowSingleLineBlocks: true,
},
],
ruleName: "padded-blocks",
},
],
};
};
exports.convertNoEmptyLineAfterOpeningBrace = convertNoEmptyLineAfterOpeningBrace;
//# sourceMappingURL=no-empty-line-after-opening-brace.js.map