tslint-to-eslint-config
Version:
Converts your TSLint configuration to the closest reasonable ESLint equivalent.
18 lines (17 loc) • 581 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertBanTsIgnore = exports.BAN_TS_IGNORE_NOTICE = void 0;
exports.BAN_TS_IGNORE_NOTICE =
"The typescript-eslint now bans @ts-<directive> comments from being used";
const convertBanTsIgnore = () => {
return {
rules: [
{
ruleName: "@typescript-eslint/ban-ts-comment",
notices: [exports.BAN_TS_IGNORE_NOTICE],
},
],
};
};
exports.convertBanTsIgnore = convertBanTsIgnore;
//# sourceMappingURL=ban-ts-ignore.js.map