UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

21 lines 760 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertJSDocFormat = exports.JSDocNoticeMsg = void 0; exports.JSDocNoticeMsg = "ESLint does not support enforcing the first line of multiline JSDoc comments be empty."; const convertJSDocFormat = () => { const ruleNames = [ "jsdoc/check-alignment", "jsdoc/check-indentation", "jsdoc/newline-after-description", ]; const mappedRuleNames = ruleNames.map((ruleName) => { return { ruleName }; }); return { rules: [...mappedRuleNames], notices: [exports.JSDocNoticeMsg], plugins: ["eslint-plugin-jsdoc"], }; }; exports.convertJSDocFormat = convertJSDocFormat; //# sourceMappingURL=jsdoc-format.js.map