New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom configuration is not used when using command-line formatting #34
Comments
Can you paste the code where you define the |
tasks.register<KtfmtFormatTask>("ktfmtPrecommit") {
source = project.fileTree(rootDir)
include("**/*.kt")
} |
Thanks. So I need to fix this internally. Ideally the task should check if there is a |
Sorry this took a bit longer, but #36 should address your scenario |
Hi, can you merge the PR, and publish a new version? |
Yup I'll do it in the next days 馃憤 |
Shipped in version |
馃悰 Describe the bug
Custom configuration is not used when using command-line formatting
Use the
./gradlew ktfmtFormat
command to format the codeUse the
./gradlew ktfmtPrecommit --include-only="......."
command to format the codeMy configuration file is as follows
ktfmt { kotlinLangStyle() maxWidth.set(120) }
馃摫 Tech info
The text was updated successfully, but these errors were encountered: