mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 22:57:05 +05:30
feat(deps): switch to Nacho's compose-rules fork
He is continuining maintenance of the work he started at Twitter.
This commit is contained in:
parent
4c44df3136
commit
9638c8bab5
3 changed files with 5 additions and 7 deletions
4
.github/renovate.json5
vendored
4
.github/renovate.json5
vendored
|
@ -55,10 +55,10 @@
|
|||
"Detekt\.kt$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"TWITTER_RULES_VERSION = \"(?<currentValue>.*)\""
|
||||
"COMPOSE_RULES_VERSION = \"(?<currentValue>.*)\""
|
||||
],
|
||||
"datasourceTemplate": "maven",
|
||||
"depNameTemplate": "com.twitter.compose.rules:detekt",
|
||||
"depNameTemplate": "io.nlopez.compose.rules:detekt",
|
||||
"registryUrlTemplate": "https://repo1.maven.org/maven2/",
|
||||
},
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ import org.gradle.api.Project
|
|||
import org.gradle.kotlin.dsl.configure
|
||||
|
||||
object Detekt {
|
||||
private const val TWITTER_RULES_VERSION = "0.0.26"
|
||||
private const val COMPOSE_RULES_VERSION = "0.1.1"
|
||||
|
||||
fun apply(project: Project) {
|
||||
project.pluginManager.apply(DetektPlugin::class.java)
|
||||
|
@ -29,7 +29,7 @@ object Detekt {
|
|||
}
|
||||
project.dependencies.add(
|
||||
"detektPlugins",
|
||||
"com.twitter.compose.rules:detekt:$TWITTER_RULES_VERSION",
|
||||
"io.nlopez.compose.rules:detekt:$COMPOSE_RULES_VERSION",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -697,12 +697,10 @@ style:
|
|||
excludeImports:
|
||||
- 'java.util.*'
|
||||
|
||||
TwitterCompose:
|
||||
Compose:
|
||||
CompositionLocalAllowlist:
|
||||
active: true
|
||||
# allowedCompositionLocals: LocalSomething,LocalSomethingElse
|
||||
CompositionLocalNaming:
|
||||
active: true
|
||||
ContentEmitterReturningValues:
|
||||
active: true
|
||||
# contentEmitters: MyComposable,MyOtherComposable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue