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

#1 detekt 적용, actions에 적용적용 #5

Merged
merged 2 commits into from
Jun 11, 2023
Merged

#1 detekt 적용, actions에 적용적용 #5

merged 2 commits into from
Jun 11, 2023

Conversation

taehwandev
Copy link
Member

No description provided.

@taehwandev taehwandev added the enhancement New feature or request label Jun 7, 2023
@taehwandev taehwandev requested a review from laco-dev June 7, 2023 01:29
@taehwandev taehwandev self-assigned this Jun 7, 2023
Comment on lines +52 to +53
# plugin
verify-detektPlugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detekt" }
Copy link
Contributor

Choose a reason for hiding this comment

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

libraries 바로밑에 모아져있는 android-gradlePlugin kotlin-gradlePlugin 플러그인도 #plugin 아래로 옮겨야 할 것 같아요

Copy link
Member Author

Choose a reason for hiding this comment

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

근데 둘다 플러그인용이 있고, 이름만 플러그인도 있어서 애매하네요. 저도 정리하다가

Copy link
Contributor

Choose a reason for hiding this comment

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

만들면서 중간에 정리할 일이 몇번 있을 듯 하니 그때 맞춰보면 될 것 같습니다 👀

buildUponDefaultConfig = true // preconfigure defaults
allRules = false // activate all available (even unstable) rules.
parallel = true
config.setFrom(listOf(file("$rootDir/config/detekt/detekt.yml"))) // point to your custom config defining rules to run, overwriting default behavior
Copy link
Contributor

Choose a reason for hiding this comment

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

플러그인을 설치하기는 했는데, 원래 maxline rule이 주석에도 잡히나요!?

image

Copy link
Member Author

Choose a reason for hiding this comment

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

네 요거하면 max line도 잡히긴 한데 저렇게 밑줄 그어지나요?

Copy link
Contributor

Choose a reason for hiding this comment

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

네 변수로 나눠달라는 경고보다는 라인이 길다라는 경고가 먼저 들어오더라구요.
안드로이드 스튜디오에 있는 플러그인 문제인지 실제 task에서는 안잡힙니다

Copy link
Member

Choose a reason for hiding this comment

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

안스 설정에서 configuration file 등록하니 task와 동일하게 잡네요
image

Copy link
Contributor

@laco-dev laco-dev left a comment

Choose a reason for hiding this comment

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

LGTM 🐈 🐕 🐬

@taehwandev taehwandev merged commit 3007ff9 into main Jun 11, 2023
@taehwandev taehwandev deleted the feature/#1 branch June 11, 2023 06:38
@laco-dev laco-dev mentioned this pull request Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants