[CHORE] #5 Ktlint 구성 #6
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 내용
ktlint는 ktlint 플러그인 사용해서 플러그인 적용했습니다!
참고사항의 명령어 적용이 필요해요!
확인 방법
./gradlew ktlintCheck명령어로 린트 체크할 수 있습니다!참고 사항
Merge 되었을 때
./gradlew addKtlintCheckGitPreCommitHook명령어로 커밋전 린트체크 훅 추가 부탁드립니다!Git Action에는
main, develop, dev 브랜치에 pr을 올릴 시 action 수행되도록 했습니다.
Unit Test 및 ktlint 체크 로직 포함시켜 놓았어요!
명령어 리스트
관련 이슈