Skip to content

Commit 3c07461

Browse files
authored
Added spotless for json files (#12076)
* 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>
1 parent 4471a8d commit 3c07461

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gradle/formatting.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ allprojects {
9999
}
100100
}
101101
format 'misc', {
102-
target '*.md', '*.gradle', '**/*.yaml', '**/*.yml', '**/*.svg'
102+
target '*.md', '*.gradle', '**/*.json', '**/*.yaml', '**/*.yml', '**/*.svg'
103+
104+
targetExclude '**/simple-bulk11.json', '**/simple-msearch5.json'
103105

104106
trimTrailingWhitespace()
105107
endWithNewline()

server/src/test/resources/org/opensearch/index/analysis/shingle_analysis.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
}
2121
}
2222
}
23-
}
23+
}

0 commit comments

Comments
 (0)