NOTIK Minor adjustments to Detekt rules to reflect current working practises (#5498)

* Minor adjustments to rules to reflect current working practises (including IntelliJ code style alignment)

* Adjust another rule in line with existing code style.

* rebaseline with changed detekt ruleset

* rebaseline with NodeStartup changes
This commit is contained in:
josecoll 2019-09-20 13:14:47 +01:00 committed by GitHub
parent c5dc905705
commit a7f790bc35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5265 deletions

File diff suppressed because one or more lines are too long

View File

@ -84,7 +84,7 @@ complexity:
ComplexMethod:
active: true
threshold: 10
ignoreSingleWhenExpression: false
ignoreSingleWhenExpression: true
LabeledExpression:
active: false
LargeClass:
@ -92,7 +92,7 @@ complexity:
threshold: 150
LongMethod:
active: true
threshold: 20
threshold: 120
LongParameterList:
active: true
threshold: 6
@ -135,7 +135,7 @@ empty-blocks:
EmptyForBlock:
active: true
EmptyFunctionBlock:
active: true
active: false
EmptyIfBlock:
active: true
EmptyInitBlock:
@ -240,7 +240,7 @@ naming:
VariableNaming:
active: true
variablePattern: '[a-z][A-Za-z0-9]*'
privateVariablePattern: '(_)?[a-z][A-Za-z0-9]*'
privateVariablePattern: '(_)?[A-Za-z][_A-Za-z0-9]*'
excludeClassPattern: '$^'
performance:
@ -321,7 +321,7 @@ style:
ignoreEnums: false
MaxLineLength:
active: true
maxLineLength: 120
maxLineLength: 140
excludePackageStatements: false
excludeImportStatements: false
MayBeConst:
@ -331,7 +331,7 @@ style:
NestedClassesVisibility:
active: false
NewLineAtEndOfFile:
active: true
active: false
NoTabs:
active: false
OptionalAbstractKeyword: