diff --git a/config/detekt/detekt-override.yml b/config/detekt/detekt-override.yml index b973e7f..11ecbf0 100644 --- a/config/detekt/detekt-override.yml +++ b/config/detekt/detekt-override.yml @@ -1,4 +1,21 @@ --- +# complexityのルール +complexity: + active: true + # + # LongParameterList + # + # 概要 + # - コンストラクタの引数の数 + # - 関数の引数の数 + # + LongParameterList: + active: true + functionThreshold: 12 # (default: 6) + constructorThreshold: 12 # (default: 7) + ignoreDefaultParameters: false + ignoreDataClasses: true + ignoreAnnotatedParameter: [] # comments のルール comments: