Artur Bosch
03/05/2019, 7:39 PMdetekt-formatting
. However auto correcting formatting issue cannot be combined with the baseline ... its all or nothingScott Dillender
03/05/2019, 9:47 PMseb
03/06/2019, 2:28 PMvanniktech
03/08/2019, 8:57 AMLeoColman
03/11/2019, 4:32 PMseb
03/16/2019, 9:34 AMGreyhairRedbear
03/23/2019, 12:48 PMMarvin
03/29/2019, 4:16 PMJoe
04/02/2019, 5:35 PMfailFast
set in my detekt-config.yml (in RC14 run via maven antrun plugin or via cli manually):
Using deprecated property 'failFast' in the yaml config. Please migrate to the new '--fail-fast' cli-flag or 'failFast' detekt extension property.
Shawn A
04/04/2019, 1:14 AMtoolVersion = "1.0.0.RC9"
sanogueralorenzo
04/04/2019, 3:29 AMSuccessfully generated HTML report at /home/.../build/reports/detekt/detekt.html
Successfully generated Checkstyle XML report at /home/.../build/reports/detekt/detekt.xml
detekt finished in 10923 ms.
.................
Ruleset: comments
Ruleset: complexity
Ruleset: empty-blocks
Ruleset: exceptions
Ruleset: naming
Ruleset: performance
Ruleset: potential-bugs
Ruleset: style
Tried with -q and it didn't workmarschwar
04/05/2019, 10:07 AMRiccardo Montagnin
04/11/2019, 3:10 PMdetekt
section of Gradle?kotta518
04/11/2019, 6:26 PMJoe
04/18/2019, 3:47 PM*
) operator when dynamically building a list to call a varargs method with? or is the detekt SpreadOperator
rule just there to make sure there's awareness of the performance implications of doing so?dector
05/20/2019, 4:10 PM./gradlew detekt
I see this message:
"Using deprecated property 'failFast' in the yaml config. Please migrate to the new '--fail-fast' cli-flag or 'failFast' detekt extension property."
However, there is no failFast property declared in yaml config file.
Using 1.0.0-RC14
.TheDukerChip
06/04/2019, 1:56 PMÓlavur Joensen
06/04/2019, 2:14 PMdetekt {
toolVersion = "1.0.0-RC14"
input = files("src/main/kotlin")
filters = ".*/resources/.*,.*/build/.*"
}
I get loads of errors in the console, all with the following message: Analyzing '[filename redacted]' led to an exception.
The original exception message was: java.lang.NoClassDefFoundError: io/gitlab/arturbosch/detekt/rules/LinesOfCodeKt$tokenSequence$1
Running detekt '1.0.0-RC14' on Java '1.8.0_151-b12' on OS 'Mac OS X'.
(am running Gradle 5.4.1)
What I’ve tried
- Building and running Detekt via the CLI - this works fine, and gives me a report (I ran it on the same project that fails via the Gradle).
- Switching to version 1.0.0-RC13 via Gradle yields the same errors as with RC14
- Clearing out the gradle caches and gradle clean
does not seem to have any effect
- (edit) Running the gradle task inside a Docker container using gradle@latest
image doesn’t help
Ideally, I want it to be run via Gradle - does anyone have any pointers as to what may the cause of this issue, or perhaps how I can fix it?Artur Bosch
06/08/2019, 11:07 AMTheDukerChip
06/13/2019, 12:19 PMdetekt
to mark the unused methods as a code smell?TheDukerChip
06/13/2019, 12:46 PMMcCabe complexity
means in Complexity Report?Casey Brooks
06/14/2019, 6:04 PMTrevor Ackerman
06/18/2019, 5:03 PMMike
07/03/2019, 5:51 PMallprojects
configuration. When it runs, it succeeds on all projects BUT then Detekt fails with this error:
Execution failed for task ':detekt'.
/dev/cbttds/cbttdsshrd-service-base/cbttdsshrd-test/build/reports/detekt/main.xml does not existand using --stacktrace shows the following Caused by: java.lang.IllegalStateException: /dev/cbttds/cbttdsshrd-service-base/cbttdsshrd-test/build/reports/detekt/main.xml does not exist at io.gitlab.arturbosch.detekt.output.XmlReportConsolidationKt.readContent(XmlReportConsolidation.kt:44) at io.gitlab.arturbosch.detekt.output.XmlReportConsolidationKt.mergeXmlReports(XmlReportConsolidation.kt:20) Is this an issue specific to multi-module? It seems like Detekt is attempting to consolidate reports or something similar, but I'm not seeing anything in change log about this. Or is this a Gradle task taking place? Any hints or assistance greatly appreciated.
antsiferov.ivan
07/04/2019, 11:25 AMCannot set value for plugins on detekt task and apply detektPlugins configuration at the same time.
message. My detekt config block is in attached snippet. Anyone faced that error?hannesstruss
07/19/2019, 3:36 PMseb
08/08/2019, 9:11 PMsanogueralorenzo
08/17/2019, 12:43 AMCzar
08/21/2019, 8:59 AMrobstoll
08/21/2019, 3:17 PMrobstoll
08/21/2019, 3:17 PMschalkms
08/21/2019, 7:09 PMrobstoll
08/21/2019, 7:14 PMschalkms
08/21/2019, 7:44 PMrobstoll
08/21/2019, 8:54 PMschalkms
08/22/2019, 10:15 AM