Skip to content

Commit

Permalink
Merge pull request #888 from fumiya-kume/kuu/add-compose-config-for-d…
Browse files Browse the repository at this point in the history
…etekt

[Detekt] Add ignore config for compose function
  • Loading branch information
takahirom authored Oct 8, 2022
2 parents 5b1abdc + 41862a0 commit 8555418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ naming:
FunctionNaming:
active: true
functionPattern: '[a-zA-Z][a-zA-Z0-9]*'
ignoreAnnotated: ['Composable']
TopLevelPropertyNaming:
active: true
constantPattern: '[A-Z][A-Za-z0-9]*'
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ paparazzi = "1.0.0"
showkase = "1.0.0-beta13"
testParameterInjector = "1.9"
mokoResources = "0.20.1"
detekt = '1.21.0'
detekt = '1.22.0-RC1'
androidxSplashScreen = "1.0.0"
twitterComposeRulesDetekt = "0.0.18"
playOssLicenses = "17.0.0"
Expand Down

0 comments on commit 8555418

Please sign in to comment.