Skip to content
GitHub Actions / detekt failed Dec 17, 2023 in 0s

reviewdog [detekt] report

reported by reviewdog 🐶

Findings (9)

plugin/src/main/kotlin/co/uzzu/dotenv/DotEnvParser.kt|4 col 23| Object constant names should match the pattern: [A-Z][A-Za-z0-9]*
plugin/src/test/kotlin/co/uzzu/dotenv/gradle/HierarchicalDotEnvDefinitionsTest.kt|91 col 17| The indentation should be 16 but it is 20.
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt|12 col 9| The indentation should be 8 but it is 12.
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt|26 col 9| The indentation should be 8 but it is 12.
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt|40 col 9| The indentation should be 8 but it is 12.
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt|54 col 9| The indentation should be 8 but it is 12.
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt|68 col 9| The indentation should be 8 but it is 12.
plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt|42 col 16| Use check() or error() instead of throwing an IllegalStateException.
plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt|115 col 20| Use check() or error() instead of throwing an IllegalStateException.

Filtered Findings (0)

Annotations

Check warning on line 4 in plugin/src/main/kotlin/co/uzzu/dotenv/DotEnvParser.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/main/kotlin/co/uzzu/dotenv/DotEnvParser.kt#L4 <detekt.naming.ObjectPropertyNaming>(https://detekt.dev/naming.html#objectpropertynaming)

Object constant names should match the pattern: [A-Z][A-Za-z0-9]*
Raw output
plugin/src/main/kotlin/co/uzzu/dotenv/DotEnvParser.kt:4:23: warning: Object constant names should match the pattern: [A-Z][A-Za-z0-9]* (detekt.naming.ObjectPropertyNaming)

Check warning on line 91 in plugin/src/test/kotlin/co/uzzu/dotenv/gradle/HierarchicalDotEnvDefinitionsTest.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/test/kotlin/co/uzzu/dotenv/gradle/HierarchicalDotEnvDefinitionsTest.kt#L91 <detekt.style.MultilineRawStringIndentation>(https://detekt.dev/style.html#multilinerawstringindentation)

The indentation should be 16 but it is 20.
Raw output
plugin/src/test/kotlin/co/uzzu/dotenv/gradle/HierarchicalDotEnvDefinitionsTest.kt:91:17: warning: The indentation should be 16 but it is 20. (detekt.style.MultilineRawStringIndentation)

Check warning on line 13 in plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt#L12-L13 <detekt.style.MultilineRawStringIndentation>(https://detekt.dev/style.html#multilinerawstringindentation)

The indentation should be 8 but it is 12.
Raw output
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt:12:9: warning: The indentation should be 8 but it is 12. (detekt.style.MultilineRawStringIndentation)

Check warning on line 27 in plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt#L26-L27 <detekt.style.MultilineRawStringIndentation>(https://detekt.dev/style.html#multilinerawstringindentation)

The indentation should be 8 but it is 12.
Raw output
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt:26:9: warning: The indentation should be 8 but it is 12. (detekt.style.MultilineRawStringIndentation)

Check warning on line 41 in plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt#L40-L41 <detekt.style.MultilineRawStringIndentation>(https://detekt.dev/style.html#multilinerawstringindentation)

The indentation should be 8 but it is 12.
Raw output
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt:40:9: warning: The indentation should be 8 but it is 12. (detekt.style.MultilineRawStringIndentation)

Check warning on line 55 in plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt#L54-L55 <detekt.style.MultilineRawStringIndentation>(https://detekt.dev/style.html#multilinerawstringindentation)

The indentation should be 8 but it is 12.
Raw output
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt:54:9: warning: The indentation should be 8 but it is 12. (detekt.style.MultilineRawStringIndentation)

Check warning on line 69 in plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt#L68-L69 <detekt.style.MultilineRawStringIndentation>(https://detekt.dev/style.html#multilinerawstringindentation)

The indentation should be 8 but it is 12.
Raw output
plugin/src/test/kotlin/co/uzzu/dotenv/DotEnvParserTest.kt:68:9: warning: The indentation should be 8 but it is 12. (detekt.style.MultilineRawStringIndentation)

Check warning on line 42 in plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt#L42 <detekt.style.UseCheckOrError>(https://detekt.dev/style.html#usecheckorerror)

Use check() or error() instead of throwing an IllegalStateException.
Raw output
plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt:42:16: warning: Use check() or error() instead of throwing an IllegalStateException. (detekt.style.UseCheckOrError)

Check warning on line 115 in plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt#L115 <detekt.style.UseCheckOrError>(https://detekt.dev/style.html#usecheckorerror)

Use check() or error() instead of throwing an IllegalStateException.
Raw output
plugin/src/main/kotlin/co/uzzu/dotenv/gradle/DotEnvProperties.kt:115:20: warning: Use check() or error() instead of throwing an IllegalStateException. (detekt.style.UseCheckOrError)