eslint-plugin-max-optional-args
v1.0.0
Published
ESLint plugin to enforce a maximum number of optional arguments
Downloads
4
Maintainers
Readme
eslint-plugin-max-optional-args 🔢
ESLint plugin to enforce a maximum number of optional arguments.
$ npm i eslint-plugin-max-optional-args --save-dev
Configuration
After installation, make the plugin available to your eslint
:
{
"plugins": ["max-optional-args"],
"rules": {
"max-optional-args/max-optional-args": [
"error",
{ "max": 3 }
]
}
}