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: autoapply detekt (static code analysis and linting) #20

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

anonvt
Copy link
Contributor

@anonvt anonvt commented Aug 9, 2024

Applies Detekt to all projects automatically.
Some notes:

  • The top level gradle file serves to basically define the version of the plugin, it still needs to be applied in each subproject in a plugin block
  • The configurations in the subProjects block work for setting the Detekt JVM, but not the config file, so they also need to be set in the project's buildfile
  • config attribution inside the task name clashes with the config macro in the :app buildfile, so I changed the macro to properites

@anonvt anonvt changed the title chore: autoapply detekt (static cone analysis and linting) chore: autoapply detekt (static code analysis and linting) Aug 9, 2024
@anonvt anonvt requested a review from fcs-ts August 9, 2024 02:45
@anonvt anonvt merged commit 5764c74 into main Aug 9, 2024
2 checks passed
@anonvt anonvt deleted the gui/chore/auto-apply-detekt-to-subprojects branch August 9, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant