Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: spotless 플러그인 추가 #6

Merged
merged 4 commits into from
Jul 20, 2024
Merged

Conversation

Jaewon-pro
Copy link
Member

🔗 이슈 연결

🚀 구현한 API

  • X

💡 반영할 내용 및 변경 사항 요약

  • spotless 플러그인을 추가합니다.
  • 스프링 프로그램을 실행하거나, ./gradlew compileJava를 실행하면 사용할 준비가 끝납니다.
  • 이후에는 git에 staged된 파일들을 커밋할 경우, 자동으로 palantir 스타일을 적용합니다.
  • palantir import순서보단 인텔리제이 import 순서와 동일하게 합니다.
    • 임의 import, java, static 순서
  • 스타일을 체크하도록 테스트하는 projectTest gradle task를 추가합니다.

🔍 리뷰 요청/참고 사항

  • 매번 ./gradlew spotlessApply를 실행시키면 귀찮을 것 같아서,
    git pre commit 스크립트로 자동화하도록 했어요.

    그래서 커밋할때 살짝 버벅이는 것 같은데, 이 부분이 괜찮을까요?

@Jaewon-pro Jaewon-pro self-assigned this Jul 20, 2024
@Jaewon-pro Jaewon-pro requested a review from hee9841 July 20, 2024 10:11
Copy link
Collaborator

@hee9841 hee9841 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

괜찮은거 같아요👍

@Jaewon-pro Jaewon-pro merged commit c068a7d into main Jul 20, 2024
1 check passed
@Jaewon-pro Jaewon-pro deleted the feature/#4/spotless branch July 20, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spotless 구성
2 participants