Replies: 4 comments 4 replies
-
Yeah, I'll work on that. |
Beta Was this translation helpful? Give feedback.
-
Fixed in bb42b6b I'll convert this discussion to an issue after github re-enables that functionality. Converting between issues <-> discussions is currently disabled due to some bugs. |
Beta Was this translation helpful? Give feedback.
-
Made my first PR since long - first time I see the check style rules in action ;-)
According to the rule this should be written as follows:
Personally, I prefer the first option as it clearly separates the if and else blocks thanks to the extra (nearly) blank line.
will be refused and should instead be written as follows:
Again, I prefer the first approach for the same reasons as above. All of this is of course a matter of taste... but since the introduction of checkstyle is rather new, I was wondering if these rules were added "on purpose" or "by default". So my feedback... |
Beta Was this translation helpful? Give feedback.
-
could also use |
Beta Was this translation helpful? Give feedback.
-
Should we add some checks during the build to enforce some coding conventions?
I'm thinking about SPACES instead of TABS for instances... (because I'm pretty confident I will forget once again to configure my IDE accordingly)...
Something like maven-checkstyle-plugin with a very limited set of checks may be ?
Are you aware of any other tool ?
Beta Was this translation helpful? Give feedback.
All reactions