Bug 2074093 - Update detekt's LongParameterList rule to allow up to 9 constructor parameters #369 (firefox-autoland@autoland)

Warnings
  • Checking...
Blockers
  • Checking...
Branches sf/bug-2074093-detekt-rule-update -> autoland
Repo firefox-autoland@autoland (git) (git://github.com/segunfamisa/firefox.git)
Author segunfamisa
State closed
Commit Title

Bug 2074093 - Update detekt's LongParameterList rule to allow up to 9 constructor parameters

Commit Body

Note - the behaviour of this rule changed in the next version. For version 1.23.8 we had to set the `constructorThreshold` to 10, to allow 9 parameters. In version 1.23.8, the threshold specifies the number from which a violation is reported, and in newer versions, the threshold specifies the number *after* which, a violation is reported. We should adjust the rule whenever we bump detekt's version. See https://github.com/detekt/detekt/issues/3679 for more info

Landings

Successfully landed

Landing requested on , by sfamisa@mozilla.com.

Landing Job: 97864

Last update:

Result: 04a8b8671ef0901782bfc6080002b7446daff61b on firefox-autoland@autoland (git)

Links: Treeherder