Skip to content

Commit

Permalink
Merge pull request #6 from AZ-First/added-json-to-linter
Browse files Browse the repository at this point in the history
added json section to linter
  • Loading branch information
tbowers7 authored Oct 17, 2024
2 parents 0f30ad4 + 0ede272 commit 5c859ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ spotless {
trimTrailingWhitespace()
endWithNewline()
}
json {
target fileTree('.'){
include '**/*.json'
exclude '**/build/**', '**/build-*/**'
}
gson().indentWithSpaces(2)
}
format 'xml', {
target fileTree('.') {
include '**/*.xml'
Expand Down

0 comments on commit 5c859ee

Please sign in to comment.