Skip to content

reformat with kotlin coding conventions

Sign in for the full log view
GitHub Actions / ktlint completed May 11, 2024 in 1s

reviewdog [ktlint] report

reported by reviewdog 🐶

Findings (78)

build.gradle.kts|52 col 14| A multiline expression should start on a new line
build.gradle.kts|52 col 14| Missing newline after "("
build.gradle.kts|55 col 5| Missing newline before ")"
build.gradle.kts|75 col 21| A multiline expression should start on a new line
build.gradle.kts|107 col 21| A multiline expression should start on a new line
build.gradle.kts|171 col 1| Unexpected indentation (12) (should be 8)
build.gradle.kts|172 col 1| Unexpected indentation (12) (should be 8)
build.gradle.kts|173 col 1| Unexpected indentation (8) (should be 4)
build.gradle.kts|190 col 4| Redundant newline (\n) at the end of file
settings.gradle.kts|26 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|4 col 1| Wildcard import
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|9 col 1| Wildcard import
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|28 col 33| A multiline expression should start on a new line
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|30 col 32| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|30 col 60| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|30 col 77| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|34 col 31| A multiline expression should start on a new line
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|36 col 25| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|36 col 53| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|36 col 70| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|46 col 1| Unexpected indentation (24) (should be 20)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|46 col 48| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|46 col 121| Exceeded max line length (120)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|46 col 139| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|47 col 1| Unexpected indentation (20) (should be 16)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|47 col 66| Missing newline after ","
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|47 col 67| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|56 col 20| A multiline expression should start on a new line
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|56 col 20| Newline expected before expression body
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|68 col 56| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|68 col 64| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|68 col 91| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|68 col 103| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|68 col 121| Exceeded max line length (120)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|71 col 46| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|71 col 58| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|71 col 61| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|71 col 78| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt|93 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/config/ConfigHandler.kt|5 col 1| Wildcard import
src/main/kotlin/dev/nyon/autodrop/config/ConfigHandler.kt|28 col 28| Parameter should start on a newline
src/main/kotlin/dev/nyon/autodrop/config/ConfigHandler.kt|28 col 28| Parameter should start on a newline
src/main/kotlin/dev/nyon/autodrop/config/ConfigHandler.kt|32 col 17| A multiline expression should start on a new line
src/main/kotlin/dev/nyon/autodrop/config/ConfigHandler.kt|54 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/config/ModMenuImpl.kt|13 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|3 col 1| Wildcard import
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|58 col 17| A multiline expression should start on a new line
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 30| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 51| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 74| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 121| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 121| Exceeded max line length (120)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 122| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|64 col 123| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|91 col 66| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|91 col 83| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|102 col 15| A multiline expression should start on a new line
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|102 col 15| Missing newline after "("
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|104 col 22| Missing newline after "("
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|104 col 22| Argument should be on a separate line (unless all arguments can fit a single line)
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|110 col 17| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|110 col 18| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|110 col 105| Missing newline before ")"
src/main/kotlin/dev/nyon/autodrop/config/YaclScreen.kt|128 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/config/models/Archive.kt|10 col 27| Expected newline
src/main/kotlin/dev/nyon/autodrop/config/models/Archive.kt|10 col 27| Expected newline before annotation
src/main/kotlin/dev/nyon/autodrop/config/models/Archive.kt|10 col 77| Expected newline after last annotation
src/main/kotlin/dev/nyon/autodrop/config/models/Archive.kt|10 col 94| Expected newline
src/main/kotlin/dev/nyon/autodrop/config/models/Archive.kt|12 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/config/models/Config.kt|11 col 2| Redundant newline (\n) at the end of file
src/main/kotlin/dev/nyon/autodrop/util/IdentifierSerializer.kt|15 col 27| Parameter should start on a newline
src/main/kotlin/dev/nyon/autodrop/util/IdentifierSerializer.kt|15 col 27| Parameter should start on a newline
src/main/kotlin/dev/nyon/autodrop/util/IdentifierSerializer.kt|23 col 2| Redundant newline (\n) at the end of file
stonecutter.gradle.kts|4 col 29| A single line block comment after a code element on the same line must be replaced with an EOL comment
stonecutter.gradle.kts|4 col 29| Replace the block comment with an EOL comment
stonecutter.gradle.kts|6 col 30| A multiline expression should start on a new line
stonecutter.gradle.kts|11 col 30| A multiline expression should start on a new line
stonecutter.gradle.kts|14 col 2| Redundant newline (\n) at the end of file

Filtered Findings (0)

Annotations

Check failure on line 52 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L52 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
build.gradle.kts:52:14: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 52 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L52 <standard:wrapping>

Missing newline after "("
Raw output
build.gradle.kts:52:14: error: Missing newline after "(" (standard:wrapping)

Check failure on line 55 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L55 <standard:wrapping>

Missing newline before ")"
Raw output
build.gradle.kts:55:5: error: Missing newline before ")" (standard:wrapping)

Check failure on line 75 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L75 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
build.gradle.kts:75:21: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 107 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L107 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
build.gradle.kts:107:21: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 171 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L171 <standard:indent>

Unexpected indentation (12) (should be 8)
Raw output
build.gradle.kts:171:1: error: Unexpected indentation (12) (should be 8) (standard:indent)

Check failure on line 172 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L172 <standard:indent>

Unexpected indentation (12) (should be 8)
Raw output
build.gradle.kts:172:1: error: Unexpected indentation (12) (should be 8) (standard:indent)

Check failure on line 173 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L173 <standard:indent>

Unexpected indentation (8) (should be 4)
Raw output
build.gradle.kts:173:1: error: Unexpected indentation (8) (should be 4) (standard:indent)

Check failure on line 190 in build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] build.gradle.kts#L190 <standard:final-newline>

Redundant newline (\n) at the end of file
Raw output
build.gradle.kts:190:4: error: Redundant newline (\n) at the end of file (standard:final-newline)

Check failure on line 26 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] settings.gradle.kts#L26 <standard:final-newline>

Redundant newline (\n) at the end of file
Raw output
settings.gradle.kts:26:2: error: Redundant newline (\n) at the end of file (standard:final-newline)

Check failure on line 4 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L4 <standard:no-wildcard-imports>

Wildcard import
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:4:1: error: Wildcard import (standard:no-wildcard-imports)

Check failure on line 9 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L9 <standard:no-wildcard-imports>

Wildcard import
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:9:1: error: Wildcard import (standard:no-wildcard-imports)

Check failure on line 28 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L28 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:28:33: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 30 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L30 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:30:32: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 30 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L30 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:30:60: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 30 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L30 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:30:77: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 34 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L34 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:34:31: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 36 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L36 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:36:25: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 36 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L36 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:36:53: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 36 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L36 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:36:70: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 46 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L46 <standard:indent>

Unexpected indentation (24) (should be 20)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:46:1: error: Unexpected indentation (24) (should be 20) (standard:indent)

Check failure on line 46 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L46 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:46:48: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 46 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L46 <standard:max-line-length>

Exceeded max line length (120)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:46:121: error: Exceeded max line length (120) (standard:max-line-length)

Check failure on line 46 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L46 <standard:argument-list-wrapping>

Missing newline before ")"
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:46:139: error: Missing newline before ")" (standard:argument-list-wrapping)

Check failure on line 47 in src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt#L47 <standard:indent>

Unexpected indentation (20) (should be 16)
Raw output
src/main/kotlin/dev/nyon/autodrop/AutoDrop.kt:47:1: error: Unexpected indentation (20) (should be 16) (standard:indent)