Skip to content

refactor(#306): 패키지 분리 #491

refactor(#306): 패키지 분리

refactor(#306): 패키지 분리 #491

GitHub Actions / ktlint failed Dec 14, 2023 in 0s

reviewdog [ktlint] report

reported by reviewdog 🐶

Findings (8)

AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt|1 col 1| File 'CreateBoardDto.kt' contains a single class and possibly also extension functions for that class and should be named same after that class 'CreateBoardData.kt'
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt|1 col 1| File must end with a newline (\n)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt|5 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginDto.kt|6 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginResponse.kt|3 col 1| Unused import
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/mindmap/SerializedCrdtMapper.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserDto.kt|6 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/ui/space/generate/AddSpaceActivity.kt|9 col 1| Unused import

Filtered Findings (20)

AOS/app/build.gradle.kts|86 col 9| Property name should start with a lowercase letter and use camel case
AOS/app/src/androidTest/java/boostcamp/and07/mindsync/ExampleInstrumentedTest.kt|1 col 1| File must end with a newline (\n)
AOS/app/src/androidTest/java/boostcamp/and07/mindsync/ExampleInstrumentedTest.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
AOS/app/src/androidTest/java/boostcamp/and07/mindsync/ExampleInstrumentedTest.kt|9 col 1| Wildcard import
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardResponse.kt|12 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginResponse.kt|14 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/NewAccessTokenDto.kt|12 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/NewAccessTokenResponse.kt|3 col 1| Unused import
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/NewAccessTokenResponse.kt|14 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserReponse.kt|1 col 1| File 'UserReponse.kt' contains a single class and possibly also extension functions for that class and should be named same after that class 'UserResponse.kt'
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserReponse.kt|3 col 1| Unused import
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserReponse.kt|13 col 1| Needless blank line(s)
AOS/app/src/main/java/boostcamp/and07/mindsync/ui/dialog/EditDescriptionDialog.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
AOS/app/src/main/java/boostcamp/and07/mindsync/ui/mindmap/MindMapViewModel.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
AOS/app/src/test/java/boostcamp/and07/mindsync/ExampleUnitTest.kt|1 col 1| File must end with a newline (\n)
AOS/app/src/test/java/boostcamp/and07/mindsync/ExampleUnitTest.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
AOS/app/src/test/java/boostcamp/and07/mindsync/ExampleUnitTest.kt|5 col 1| Wildcard import
AOS/build.gradle.kts|13 col 13| Property name should start with a lowercase letter and use camel case
AOS/settings.gradle.kts|23 col 1| Trailing space(s)
AOS/settings.gradle.kts|23 col 1| Unexpected indentation (1) (should be 0)

Annotations

Check failure on line 1 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt#L1 <standard:filename>

File 'CreateBoardDto.kt' contains a single class and possibly also extension functions for that class and should be named same after that class 'CreateBoardData.kt'
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt:1:1: error: File 'CreateBoardDto.kt' contains a single class and possibly also extension functions for that class and should be named same after that class 'CreateBoardData.kt' (standard:filename)

Check failure on line 1 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt#L1 <standard:final-newline>

File must end with a newline (\n)
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt:1:1: error: File must end with a newline (\n) (standard:final-newline)

Check failure on line 5 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt#L5 <standard:no-consecutive-blank-lines>

Needless blank line(s)
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt:5:1: error: Needless blank line(s) (standard:no-consecutive-blank-lines)

Check failure on line 6 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginDto.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginDto.kt#L6 <standard:no-consecutive-blank-lines>

Needless blank line(s)
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginDto.kt:6:1: error: Needless blank line(s) (standard:no-consecutive-blank-lines)

Check failure on line 3 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginResponse.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginResponse.kt#L3 <standard:no-unused-imports>

Unused import
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginResponse.kt:3:1: error: Unused import (standard:no-unused-imports)

Check failure on line 3 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/mindmap/SerializedCrdtMapper.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/mindmap/SerializedCrdtMapper.kt#L3 <standard:import-ordering>

Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/mindmap/SerializedCrdtMapper.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (standard:import-ordering)

Check failure on line 6 in AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserDto.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserDto.kt#L6 <standard:no-consecutive-blank-lines>

Needless blank line(s)
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/user/UserDto.kt:6:1: error: Needless blank line(s) (standard:no-consecutive-blank-lines)

Check failure on line 9 in AOS/app/src/main/java/boostcamp/and07/mindsync/ui/space/generate/AddSpaceActivity.kt

See this annotation in the file changed.

@github-actions github-actions / ktlint

[ktlint] AOS/app/src/main/java/boostcamp/and07/mindsync/ui/space/generate/AddSpaceActivity.kt#L9 <standard:no-unused-imports>

Unused import
Raw output
AOS/app/src/main/java/boostcamp/and07/mindsync/ui/space/generate/AddSpaceActivity.kt:9:1: error: Unused import (standard:no-unused-imports)