Skip to content

1.20.5 (#12)

1.20.5 (#12) #4

GitHub Actions / ktlint completed Apr 25, 2024 in 1s

reviewdog [ktlint] report

reported by reviewdog 🐶

Findings (59)

settings.gradle.kts|13 col 1| Missing space after //
settings.gradle.kts|14 col 29| File must end with a newline (\n)
telekinesis-paper/build.gradle.kts|48 col 21| A multiline expression should start on a new line
telekinesis-paper/build.gradle.kts|106 col 11| Unnecessary long whitespace
telekinesis-paper/build.gradle.kts|142 col 1| File must end with a newline (\n)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|22 col 22| Property name should start with a lowercase letter and use camel case
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|22 col 37| Missing newline after ';'
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|27 col 22| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|55 col 71| Argument should be on a separate line (unless all arguments can fit a single line)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|55 col 93| Missing newline before ")"
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|55 col 141| Exceeded max line length (140)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt|82 col 36| File must end with a newline (\n)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt|53 col 36| Unnecessary trailing comma before ")"
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt|58 col 12| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|21 col 18| Argument should be on a separate line (unless all arguments can fit a single line)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|21 col 49| Argument should be on a separate line (unless all arguments can fit a single line)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|23 col 1| Class body should not start with blank line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|25 col 5| Expected a blank line for this declaration
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|28 col 5| Expected a blank line for this declaration
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|30 col 38| Newline expected after opening parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|30 col 46| Parameter should start on a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|30 col 72| Newline expected before closing parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|31 col 5| Expected a blank line for this declaration
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|31 col 33| Newline expected after opening parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|31 col 41| Parameter should start on a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|31 col 57| Newline expected before closing parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|33 col 50| First line of body expression fits on same line as function signature
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|68 col 36| Newline expected after opening parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|68 col 48| Parameter should start on a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt|68 col 78| Newline expected before closing parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisPolicy.kt|8 col 32| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisPolicy.kt|8 col 32| Newline expected before expression body
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisPolicy.kt|14 col 43| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisPolicy.kt|14 col 43| Newline expected before expression body
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisPolicy.kt|19 col 1| File must end with a newline (\n)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/listeners/BlockListeners.kt|14 col 17| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/listeners/BlockListeners.kt|25 col 23| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/listeners/BlockListeners.kt|30 col 1| File must end with a newline (\n)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/listeners/MobListeners.kt|13 col 14| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/listeners/MobListeners.kt|27 col 17| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/listeners/MobListeners.kt|34 col 1| File must end with a newline (\n)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/Listeners.kt|14 col 20| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/Listeners.kt|25 col 1| File must end with a newline (\n)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|11 col 30| Newline expected after opening parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|11 col 57| Parameter should start on a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|11 col 80| Parameter should start on a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|11 col 107| Newline expected before closing parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|19 col 34| Newline expected after opening parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|19 col 61| Parameter should start on a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|19 col 82| Newline expected before closing parenthesis
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|27 col 30| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|28 col 1| Unexpected indentation (12) (should be 8)
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|35 col 21| A multiline expression should start on a new line
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|35 col 45| Expected a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|35 col 45| Missing { ... }
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|35 col 50| Expected a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|35 col 55| Expected a newline
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|35 col 55| Missing { ... }
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/util/TelekinesisCheck.kt|45 col 1| File must end with a newline (\n)

Filtered Findings (0)

Annotations

Check failure on line 13 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] settings.gradle.kts#L13 <standard:comment-spacing>

Missing space after //
Raw output
settings.gradle.kts:13:1: error: Missing space after // (standard:comment-spacing)

Check failure on line 14 in settings.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

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

File must end with a newline (\n)
Raw output
settings.gradle.kts:14:29: error: File must end with a newline (\n) (standard:final-newline)

Check failure on line 48 in telekinesis-paper/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/build.gradle.kts#L48 <standard:multiline-expression-wrapping>

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

Check failure on line 106 in telekinesis-paper/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/build.gradle.kts#L106 <standard:no-multi-spaces>

Unnecessary long whitespace
Raw output
telekinesis-paper/build.gradle.kts:106:11: error: Unnecessary long whitespace (standard:no-multi-spaces)

Check failure on line 142 in telekinesis-paper/build.gradle.kts

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/build.gradle.kts#L142 <standard:final-newline>

File must end with a newline (\n)
Raw output
telekinesis-paper/build.gradle.kts:142:1: error: File must end with a newline (\n) (standard:final-newline)

Check failure on line 22 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L22 <standard:property-naming>

Property name should start with a lowercase letter and use camel case
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:22:22: error: Property name should start with a lowercase letter and use camel case (standard:property-naming)

Check failure on line 22 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L22 <standard:statement-wrapping>

Missing newline after ';'
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:22:37: error: Missing newline after ';' (standard:statement-wrapping)

Check failure on line 27 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L27 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:27:22: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 55 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L55 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:55:71: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 55 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L55 <standard:argument-list-wrapping>

Missing newline before ")"
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:55:93: error: Missing newline before ")" (standard:argument-list-wrapping)

Check failure on line 55 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L55 <standard:max-line-length>

Exceeded max line length (140)
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:55:141: error: Exceeded max line length (140) (standard:max-line-length)

Check failure on line 82 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt#L82 <standard:final-newline>

File must end with a newline (\n)
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/Main.kt:82:36: error: File must end with a newline (\n) (standard:final-newline)

Check failure on line 53 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt#L53 <standard:trailing-comma-on-declaration-site>

Unnecessary trailing comma before ")"
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt:53:36: error: Unnecessary trailing comma before ")" (standard:trailing-comma-on-declaration-site)

Check failure on line 58 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt#L58 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisConfig.kt:58:12: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)

Check failure on line 21 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L21 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:21:18: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 21 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L21 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:21:49: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 23 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L23 <standard:no-empty-first-line-in-class-body>

Class body should not start with blank line
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:23:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)

Check failure on line 25 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L25 <standard:blank-line-before-declaration>

Expected a blank line for this declaration
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:25:5: error: Expected a blank line for this declaration (standard:blank-line-before-declaration)

Check failure on line 28 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L28 <standard:blank-line-before-declaration>

Expected a blank line for this declaration
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:28:5: error: Expected a blank line for this declaration (standard:blank-line-before-declaration)

Check failure on line 30 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L30 <standard:function-signature>

Newline expected after opening parenthesis
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:30:38: error: Newline expected after opening parenthesis (standard:function-signature)

Check failure on line 30 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L30 <standard:function-signature>

Parameter should start on a newline
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:30:46: error: Parameter should start on a newline (standard:function-signature)

Check failure on line 30 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L30 <standard:function-signature>

Newline expected before closing parenthesis
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:30:72: error: Newline expected before closing parenthesis (standard:function-signature)

Check failure on line 31 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L31 <standard:blank-line-before-declaration>

Expected a blank line for this declaration
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:31:5: error: Expected a blank line for this declaration (standard:blank-line-before-declaration)

Check failure on line 31 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L31 <standard:function-signature>

Newline expected after opening parenthesis
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:31:33: error: Newline expected after opening parenthesis (standard:function-signature)

Check failure on line 31 in telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt#L31 <standard:function-signature>

Parameter should start on a newline
Raw output
telekinesis-paper/src/main/kotlin/dev/nyon/telekinesis/TelekinesisEnchantment.kt:31:41: error: Parameter should start on a newline (standard:function-signature)