UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

18 lines (17 loc) 575 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertNoInvalidThis = void 0; const convertNoInvalidThis = (tslintRule) => { return { rules: [ { ...(!tslintRule.ruleArguments.includes("check-function-in-method") && { notices: ["Functions in methods will no longer be ignored."], }), ruleName: "no-invalid-this", }, ], }; }; exports.convertNoInvalidThis = convertNoInvalidThis; //# sourceMappingURL=no-invalid-this.js.map