1
0
Fork 0

For #4326 - Updates codebase to support latest version of ktlint

master
Jeff Boek 2019-08-21 10:21:58 -07:00
parent d9c2c0d16a
commit e601fe7c9f
7 changed files with 10 additions and 6 deletions

4
.editorconfig 100644
View File

@ -0,0 +1,4 @@
[*.{kt,kts}]
# Disabling rules that were added in the latest versions of ktlint
# tracking here: https://github.com/mozilla-mobile/fenix/issues/4861
disabled_rules=import-ordering

View File

@ -72,6 +72,6 @@ dependencies {
task ktlint(type: JavaExec, group: "verification") {
description = "Check Kotlin code style."
classpath = configurations.ktlint
main = "com.github.shyiko.ktlint.Main"
main = "com.pinterest.ktlint.Main"
args "app/src/**/*.kt", "architecture/src/**/*.kt"
}