-
Notifications
You must be signed in to change notification settings - Fork 503
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.48.0使用ktlint --stdin -F 进行格式化,会提示错误 #1742
Comments
Please clarify (in english) what you mean and what you expect to happen. I can not help without it. |
I am a Chinese developer。The 0.48.0 version executes the following command: The following error will be prompted: |
The 0.48.0 version executes the following command: The following error will be prompted: |
…option `--stdin Closes pinterest#1742
…option `--stdin Closes pinterest#1742
See https://pinterest.github.io/ktlint/install/snapshot-build/ if you want to use this functionality before the release of |
0.48.0执行以下命令
cat "$file_path" |
"$DIR"/ktlint/ktlint --stdin -F
会提示如下错误:
: 1: 1: File 'file.kt' contains a single class and possibly also extension functions for that class and should be named same after that class 'MainActivity.kt' (cannot be auto-corrected) (filename)
Summary error count (descending) by rule:
filename: 1
但是在0.47.0就没有这个问题
The text was updated successfully, but these errors were encountered: