Skip to content

Commit

Permalink
Added spotless for json files
Browse files Browse the repository at this point in the history
Signed-off-by: Owais Kazi <[email protected]>
  • Loading branch information
owaiskazi19 committed Jan 30, 2024
1 parent cc9ee9d commit ebd17f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle/formatting.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ allprojects {
}
}
format 'misc', {
target '*.md', '*.gradle', '**/*.yaml', '**/*.yml', '**/*.svg'
target '*.md', '*.gradle', '**/*.json', '**/*.yaml', '**/*.yml', '**/*.svg'

trimTrailingWhitespace()
endWithNewline()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{ "field1" : "value1" }
{ "delete" : { "_index" : "test", "_id" : "2" } }
{ "create" : { "_index" : "test", "_id" : "3" } }
{ "field1" : "value3" }
{ "field1" : "value3" }
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
{"index" : "test2,test3", "preference": "_local"}
{"query" : {"match_all" : {}}}
{"index" : ["test4", "test1"], "routing": "123"}
{"query" : {"match_all" : {}}}
{"query" : {"match_all" : {}}}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
}
}
}
}
}

0 comments on commit ebd17f7

Please sign in to comment.