UNPKG

eslint-plugin-signature-design

Version:

ESLint rule to make function signatures better. Currently has only one rule: prevent functions from having too many arguments with the same type.

18 lines (17 loc) 591 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.configs = exports.rules = void 0; const max_duplicate_param_types_1 = __importDefault(require("./rules/max-duplicate-param-types")); exports.rules = { 'max-duplicate-param-types': max_duplicate_param_types_1.default, }; exports.configs = { recommended: { rules: { 'signature-design/max-duplicate-param-types': 'warn', }, }, };