robstoll
10/11/2018, 12:13 PMexclude-rule-sets:
exclude-rules:
- 'StringLiteralDuplication'
Then the default applies for exclude-rule-sets
which is uggly because I did not want the default (same applies when I remove all exclude-rules and only add exclude-rule-sets)
The workaround I use is:
exclude-rule-sets:
- 'ignoreDefaultBehaviour'
Is there another way to achieve this?robstoll
10/16/2018, 7:30 AMsonar.kotlin.detekt.reportPaths
which should point to detekt-checkstyle.xml
tapchicoma
10/19/2018, 12:08 PMArtur Bosch
10/28/2018, 11:38 AMtapchicoma
10/31/2018, 2:34 PM!!
?Scott Dillender
10/31/2018, 5:22 PMskennedy
11/03/2018, 12:15 AMUnnecessaryApply
that i'm not sure about.
val view = FrameLayout(context).apply {
background = ColorDrawable(ContextCompat.getColor(context, R.color.white))
}
This is saying it's unnecessary. But I'm not sure how I'd both set the background and return the FrameLayout
without an apply
.sanogueralorenzo
11/04/2018, 5:46 PMArtur Bosch
11/06/2018, 4:14 AMdetekt-intellij-plugin
to something else. No plugin and no intellij in the name ... 🙂
How about: detekt4idea? Maybe I need to ask if idea is allowed than 😄vanniktech
11/06/2018, 9:53 AMJukka Siivonen
11/07/2018, 8:34 AMArtur Bosch
11/08/2018, 4:14 PMthemishkun
11/09/2018, 11:26 AMNoInternalImportRule
in the yml to NoInternalImport
. @Artur Bosch, @mauin Can we report warnings about unknown rules in the yml configs? I spent 2 days finding this bugskennedy
11/12/2018, 6:52 PMkevinherron
11/13/2018, 4:42 PMskennedy
11/16/2018, 9:21 PMEndOfSentenceFormat
?mauin
12/06/2018, 9:47 AMJacks0n23
12/13/2018, 9:15 AMxenoterracide
12/18/2018, 4:24 AMFailed to apply plugin [id 'com.xenoterracide.gradle.bundle.kotlin-lib-defaults']> Extension of type 'JavaPluginConvention' does not exist. Currently registered extension types: [ExtraPropertiesExtension, XenoExtension, IdeaModel, DefaultArtifactPublicationSet, ReportingExtension, SourceSetContainer, JavaPluginExtension, KotlinJvmProjectExtension] any way to get my plugin to wait on that extension?
schalkms
12/21/2018, 8:09 PMMike
01/07/2019, 11:16 AMxenoterracide
01/08/2019, 5:22 AMbuildscript {
repositories {
jcenter()
}
}
plugins {
id("io.gitlab.arturbosch.detekt").version("[version]")
}
when will things work without the buildscript? (jcenter()) and/or does anyone know how to add jcenter like this in a plugin via javaJukka Siivonen
01/11/2019, 9:16 AMJukka Siivonen
01/11/2019, 9:17 AMthuytrinh
01/18/2019, 10:29 PMthuytrinh
01/24/2019, 10:31 AMBorzdeG
01/25/2019, 11:40 AMformatting.MaximumLineLength
is redundant: https://github.com/arturbosch/detekt/blob/master/detekt-cli/src/main/resources/default-detekt-config.yml#L222
He can use the parameter `style.MaxLineLength`: https://github.com/arturbosch/detekt/blob/master/detekt-cli/src/main/resources/default-detekt-config.yml#L445?
Or at least have the same name ...seb
02/11/2019, 10:56 AMvanniktech
02/16/2019, 6:46 PM