mirror of
https://github.com/google/nomulus.git
synced 2025-06-08 05:24:49 +02:00
We make some modifications to the internal Google checkstyle file because Google's linter uses a modified build of Checkstyle that introduces some new classes and allows for more specific checks than the open-source Checkstyle (e.g. only enforcing UPPER_SNAKE_CASE on deeply immutable fields). There exists a public Checkstyle file that purports to be the Google java format file (https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml) but it doesn't quite match up with what the internal linter says in certain situations (e.g. what operators must/can appear on new lines). The suppressions are basically "don't run on generated code + don't care about Javadoc in test code" ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=231283700 |
||
---|---|---|
.. | ||
checkstyle.xml | ||
suppressions.xml |