Skip to content

Commit

Permalink
fix(detekt): TopLevelPropertyNaming pattern regex fix (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
srtvprateek committed Jul 15, 2022
1 parent 41ff7f9 commit fb0297d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/static-analysis/detekt-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ naming:
TopLevelPropertyNaming:
active: true
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ]
constantPattern: '[A-Z][A-Za-z0-9]*'
constantPattern: '[A-Z][_A-Za-z0-9]*'
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
privatePropertyPattern: '_?[A-Za-z][_A-Za-z0-9]*'
VariableMaxLength:
Expand Down

0 comments on commit fb0297d

Please sign in to comment.