We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding · to the code snippet to visually represent spaces. Let's say we have the following code:
·
/*· ·*·©·Your·Copyright·Here ·*/ package·com.foo class·Foo
Ktlint should be able to flag and remove that trailing space on line 1.
The trailing space remains, Ktlint does not complain about it nor does it strip it when running the formatter.
0.41.0
./gradlew ktlintFormat
------------------------------------------------------------ Gradle 7.1.1 ------------------------------------------------------------ Build time: 2021-07-02 12:16:43 UTC Revision: 774525a055494e0ece39f522ac7ad17498ce032c Kotlin: 1.4.31 Groovy: 3.0.7 Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 JVM: 11.0.9 (Eclipse OpenJ9 openj9-0.23.0) OS: Mac OS X 10.16 x86_64
The text was updated successfully, but these errors were encountered:
Lint and format trailing spaces inside block comments
746a79f
Closes pinterest#1197
b210626
Lint and format trailing spaces inside block comments (#1204)
e8d6799
* Lint and format trailing spaces inside block comments Closes #1197 * Add changelog entry Co-authored-by: Paul Dingemans <[email protected]> Co-authored-by: Roman Zavarnitsyn <[email protected]>
Successfully merging a pull request may close this issue.
Adding
·
to the code snippet to visually represent spaces. Let's say we have the following code:Expected Behavior
Ktlint should be able to flag and remove that trailing space on line 1.
Observed Behavior
The trailing space remains, Ktlint does not complain about it nor does it strip it when running the formatter.
Steps to Reproduce
Your Environment
0.41.0
./gradlew ktlintFormat
The text was updated successfully, but these errors were encountered: