Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Add lint checker
Browse files Browse the repository at this point in the history
  • Loading branch information
milosmns committed Jul 11, 2020
1 parent f866018 commit 3f0b916
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kssm/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id "org.jmailen.kotlinter" version '2.4.1'
}

apply plugin: "org.jmailen.kotlinter"

// Maven Coordinates

group 'me.angrybyte'
Expand Down Expand Up @@ -41,4 +44,15 @@ compileKotlin {

compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

// Linter config

kotlinter {
ignoreFailures = false
indentSize = 2
reporters = ['checkstyle', 'plain']
experimentalRules = false
disabledRules = ['no-blank-line-before-rbrace', 'final-newline']
fileBatchSize = 30
}

0 comments on commit 3f0b916

Please sign in to comment.