Add ktlint-disable directive to generated files

This commit is contained in:
arkon
2021-02-07 15:26:49 -05:00
parent 473a1fbc4e
commit 2f5e09b292
3 changed files with 1 additions and 7 deletions

View File

@ -167,7 +167,7 @@ interface ThemeSourceGenerator {
}
}
File("$classPath/${source.className}.kt").writeText("""
File("$classPath/${source.className}.kt").writeText("""/* ktlint-disable */
// THIS FILE IS AUTO-GENERATED; DO NOT EDIT
package eu.kanade.tachiyomi.extension.${pkgNameSuffix(source, ".")}