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
editorconfig:check and editorconfig:format do not recognize missing newline if insert_final_newline = true.
editorconfig:check
editorconfig:format
insert_final_newline = true
I made a little sample project here. Only insert_final_newline and trim_trailing_whitespace are set to true.
insert_final_newline
trim_trailing_whitespace
The editorconfig:check only find the trailing whitespaces. The missing newlines in the two java files are not recognized:
[INFO] --- editorconfig:0.1.3:check (default-cli) @ MavenEditorConfigTest --- [ERROR] src/main/java/org/example/Main.java@3,20: Delete 4 characters - violates trim_trailing_whitespace = true, reported by org.ec4j.linters.TextLinter [ERROR] src/main/java/org/example/Main.java@5,1: Delete 8 characters - violates trim_trailing_whitespace = true, reported by org.ec4j.linters.TextLinter [INFO] Checked 7 files
editorconfig:format also only correct the whitespaces errors.
Is there some miss configuration on my site or is it a bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
editorconfig:check
andeditorconfig:format
do not recognize missing newline ifinsert_final_newline = true
.I made a little sample project here. Only
insert_final_newline
andtrim_trailing_whitespace
are set to true.The
editorconfig:check
only find the trailing whitespaces. The missing newlines in the two java files are not recognized:editorconfig:format
also only correct the whitespaces errors.Is there some miss configuration on my site or is it a bug?
The text was updated successfully, but these errors were encountered: