Skip to content

Commit

Permalink
Added spotless for json files (opensearch-project#12076)
Browse files Browse the repository at this point in the history
* Added spotless for json files

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Excluded json files with new line tests

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

---------

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
  • Loading branch information
owaiskazi19 authored and rayshrey committed Mar 18, 2024
1 parent 16e1683 commit 1282d5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gradle/formatting.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ allprojects {
}
}
format 'misc', {
target '*.md', '*.gradle', '**/*.yaml', '**/*.yml', '**/*.svg'
target '*.md', '*.gradle', '**/*.json', '**/*.yaml', '**/*.yml', '**/*.svg'

targetExclude '**/simple-bulk11.json', '**/simple-msearch5.json'

trimTrailingWhitespace()
endWithNewline()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
}
}
}
}
}

0 comments on commit 1282d5a

Please sign in to comment.