Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/__tests__/checkstyle/google_checks.lint-test
- This file was added.
| public class TestingCheckstyle { | |||||
| public static void main(String[] args) | |||||
Lint: Trailing Whitespace: This line contains trailing whitespace. Consider setting up your editor to automatically remove… | |||||
Not Done Inline ActionsWould it make sense to exclude lint-test files from Arcanist project linting? cspeckmim: Would it make sense to exclude `lint-test` files from Arcanist project linting? | |||||
| { | |||||
| System.out.println() | |||||
| } | |||||
| private class A{ | |||||
| @Override public String m() { return null; } | |||||
| } | |||||
| } | |||||
| ~~~~~~~~~~ | |||||
| warning:1: | |||||
| warning:3:3 | |||||
| warning:4: | |||||
| warning:7:18 | |||||
| warning:9: | |||||
| warning:9:31 | |||||
| warning:9:46 | |||||
| ~~~~~~~~~~ | |||||
| ~~~~~~~~~~ | |||||
| { | |||||
| "config": { | |||||
| "checkstyle.simplify-source-classname": true | |||||
| } | |||||
| } | |||||
| ~~~~~~~~~~ | |||||
| google_checks.lint-test.java | |||||
Lint: File Does Not End in Newline Files must end in a newline. Lint: File Does Not End in Newline: Files must end in a newline. | |||||
| No newline at end of file | |||||
This line contains trailing whitespace. Consider setting up your editor to automatically remove trailing whitespace, you will save time.