'Activating Checkstyle' on a project dishes out two violations for every of the (.wav, .png) resource file in my project :
1. File does not end with a newline.
2. File contains tab characters (this is the first instance).
Normally, both of those violations are easily fixable if they were in the source code, however, shouldn't the format of the resource files not be tampered with just to appease Checkstyle?
The only solutions I see are to either
- simply ignore 1000+ resource-related violations
- periodically 'Check Code with Checkstyle' on the src folder rather than activate on the entire project. ---> will not dynamically check code.
Both of the solutions are not desirable, any tips?