feat: add max-params rule

This adds the max-params rule and sets it to error if methods use more than 3 parameters. This enforces the rule "limit number of parameters" in our frontend JavaScript style guide.

We'll need to add inline eslint disable rules for the following occurrences:

  • In gitlab there are 226 violations
  • In gitlab/ui there are 6 violations
  • Other projects using this eslint config?

BREAKING CHANGE: The max-params rule is set to error on methods using more than 3 parameters.

Edited by Lorenz van Herwaarden

Merge request reports

Loading