mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
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:
parent
c5dc905705
commit
a7f790bc35
5261
detekt-baseline.xml
5261
detekt-baseline.xml
File diff suppressed because one or more lines are too long
@ -84,7 +84,7 @@ complexity:
|
|||||||
ComplexMethod:
|
ComplexMethod:
|
||||||
active: true
|
active: true
|
||||||
threshold: 10
|
threshold: 10
|
||||||
ignoreSingleWhenExpression: false
|
ignoreSingleWhenExpression: true
|
||||||
LabeledExpression:
|
LabeledExpression:
|
||||||
active: false
|
active: false
|
||||||
LargeClass:
|
LargeClass:
|
||||||
@ -92,7 +92,7 @@ complexity:
|
|||||||
threshold: 150
|
threshold: 150
|
||||||
LongMethod:
|
LongMethod:
|
||||||
active: true
|
active: true
|
||||||
threshold: 20
|
threshold: 120
|
||||||
LongParameterList:
|
LongParameterList:
|
||||||
active: true
|
active: true
|
||||||
threshold: 6
|
threshold: 6
|
||||||
@ -135,7 +135,7 @@ empty-blocks:
|
|||||||
EmptyForBlock:
|
EmptyForBlock:
|
||||||
active: true
|
active: true
|
||||||
EmptyFunctionBlock:
|
EmptyFunctionBlock:
|
||||||
active: true
|
active: false
|
||||||
EmptyIfBlock:
|
EmptyIfBlock:
|
||||||
active: true
|
active: true
|
||||||
EmptyInitBlock:
|
EmptyInitBlock:
|
||||||
@ -240,7 +240,7 @@ naming:
|
|||||||
VariableNaming:
|
VariableNaming:
|
||||||
active: true
|
active: true
|
||||||
variablePattern: '[a-z][A-Za-z0-9]*'
|
variablePattern: '[a-z][A-Za-z0-9]*'
|
||||||
privateVariablePattern: '(_)?[a-z][A-Za-z0-9]*'
|
privateVariablePattern: '(_)?[A-Za-z][_A-Za-z0-9]*'
|
||||||
excludeClassPattern: '$^'
|
excludeClassPattern: '$^'
|
||||||
|
|
||||||
performance:
|
performance:
|
||||||
@ -321,7 +321,7 @@ style:
|
|||||||
ignoreEnums: false
|
ignoreEnums: false
|
||||||
MaxLineLength:
|
MaxLineLength:
|
||||||
active: true
|
active: true
|
||||||
maxLineLength: 120
|
maxLineLength: 140
|
||||||
excludePackageStatements: false
|
excludePackageStatements: false
|
||||||
excludeImportStatements: false
|
excludeImportStatements: false
|
||||||
MayBeConst:
|
MayBeConst:
|
||||||
@ -331,7 +331,7 @@ style:
|
|||||||
NestedClassesVisibility:
|
NestedClassesVisibility:
|
||||||
active: false
|
active: false
|
||||||
NewLineAtEndOfFile:
|
NewLineAtEndOfFile:
|
||||||
active: true
|
active: false
|
||||||
NoTabs:
|
NoTabs:
|
||||||
active: false
|
active: false
|
||||||
OptionalAbstractKeyword:
|
OptionalAbstractKeyword:
|
||||||
|
Loading…
Reference in New Issue
Block a user