Skip to content

Commit

Permalink
Use ktlint's preferences in IntelliJ
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpnt committed Nov 24, 2019
1 parent 12552b4 commit 462c3b3
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/inspectionProfiles/ktlint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gradle/formatter/spotless.license.txt
@@ -1,5 +1,5 @@
/*
* Copyright 2016 Gregor Dschung
* Copyright 2016 - 2019 Gregor Dschung
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
7 changes: 6 additions & 1 deletion gradle/spotless.gradle
Expand Up @@ -17,7 +17,12 @@ spotless {
indentWithSpaces()
trimTrailingWhitespace()
}


kotlin {
ktlint()
licenseHeaderFile 'gradle/formatter/spotless.license.txt'
}

groovy {
excludeJava()
licenseHeaderFile 'gradle/formatter/spotless.license.txt'
Expand Down

0 comments on commit 462c3b3

Please sign in to comment.