Update for ktlint 1.0.0 (ktlint-maven-plugin 3.0.0). (#273)

This commit is contained in:
Jonathan Lennox 2023-10-03 11:20:28 -04:00 committed by GitHub
parent fd43e6c181
commit 1c60acc59b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ max_line_length = 120
[*.{kt,kts}] [*.{kt,kts}]
max_line_length = 120 max_line_length = 120
ktlint_code_style = intellij_idea
# I find trailing commas annoying # I find trailing commas annoying
ktlint_standard_trailing-comma-on-call-site = disabled ktlint_standard_trailing-comma-on-call-site = disabled

View File

@ -221,7 +221,7 @@
<plugin> <plugin>
<groupId>com.github.gantsign.maven</groupId> <groupId>com.github.gantsign.maven</groupId>
<artifactId>ktlint-maven-plugin</artifactId> <artifactId>ktlint-maven-plugin</artifactId>
<version>2.0.0</version> <version>3.0.0</version>
<configuration> <configuration>
<sourceRoots> <sourceRoots>
<sourceRoot>${project.basedir}/src/main/kotlin</sourceRoot> <sourceRoot>${project.basedir}/src/main/kotlin</sourceRoot>