-
Notifications
You must be signed in to change notification settings - Fork 580
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
CheckstyleBear should error when use_spaces is False or indent_size is not 2 #898
Comments
@jayvdb shouldn't we rather use like "google" as base and then modify according to the given settings? |
Closes coala#898 ensuring that if the checkstyle_config is google, then use_spaces has to be true and indent_size is 2.
Closes coala#898 ensuring that if the checkstyle_config is google, then use_spaces has to be true and indent_size is 2.
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
@sils , |
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Well, |
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Add invalid_config function to CheckstyleBear.py Add tests to invalid configurations Closes coala#898
Adds invalid_config function to CheckstyleBear.py. Adds tests for invalid configurations. Closes coala#898.
Adds invalid_config function to CheckstyleBear.py. Adds tests for invalid configurations. Closes coala#898.
Adds invalid_config function to CheckstyleBear.py. Adds tests for invalid configurations. Closes coala#898.
Adds invalid_config function to CheckstyleBear.py. Adds tests for invalid configurations. Closes coala#898.
If
checkstyle_configs = Google
, indentation checking using 2 spaces, according to https://google.github.io/styleguide/javaguide.html#s4.2-block-indentationuse_spaces=False
must emit an errorindent_size
must be set to 2, otherwise emit an error.The text was updated successfully, but these errors were encountered: