UNPKG

tslint-to-eslint-config

Version:

Converts your TSLint configuration to the closest reasonable ESLint equivalent.

23 lines (22 loc) 821 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertNoUnusedVariable = exports.NO_UNUSED_VARIABLE_NOTICE = void 0; exports.NO_UNUSED_VARIABLE_NOTICE = "Please read the following article as the rule behaviour may change on the short term: " + "https://github.com/typescript-eslint/typescript-eslint/issues/1856"; const convertNoUnusedVariable = () => { return { rules: [ { ruleName: "no-unused-vars", ruleSeverity: "off", }, { ruleName: "@typescript-eslint/no-unused-vars", notices: [exports.NO_UNUSED_VARIABLE_NOTICE], }, ], }; }; exports.convertNoUnusedVariable = convertNoUnusedVariable; //# sourceMappingURL=no-unused-variable.js.map