Skip to content

Commit 3d4d1df

Browse files
committed
add linter settings
1 parent 16466f7 commit 3d4d1df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ java {
3939
targetCompatibility = JavaVersion.VERSION_1_8
4040
}
4141

42+
kotlinter {
43+
// see https://github.com/pinterest/ktlint/blob/master/docs/rules/standard.md
44+
this.disabledRules = arrayOf(
45+
"package-name", // This project allows for the inclusion of _ to represent the package name in the snake case.
46+
"filename" // For clarity in future extensions, this rule is disabled.
47+
)
48+
}
49+
4250
tasks {
4351
test {
4452
useJUnitPlatform()

0 commit comments

Comments
 (0)