Commit Graph

25 Commits

Author SHA1 Message Date
ByteHamster
e578f4ca93
CI tweaks (#7069)
- Run Checkstyle with gradle to make it easier for users
  - No longer needs different configuration for new code
  - Exclude current violations
  - Fix some violations that somehow couldn't be specified in the exclusion file
- Print SpotBugs/Lint/Checkstly violations in GitHub format
  - Then the CI run gets annotated on the web UI
2024-04-07 23:28:14 +02:00
ByteHamster
cae848b505 Fix indentation in last 8 files 2024-03-04 23:09:59 +01:00
ByteHamster
6c0f9eec62 Remove tab characters from last 6 files 2024-03-04 23:09:55 +01:00
ByteHamster
114a2c192c Make checkstyle CI faster 2022-01-16 11:23:29 +01:00
ByteHamster
9c01712276 Move more checkstyle checks from 'new code' style to main style 2022-01-15 12:57:23 +01:00
ByteHamster
f62a6b808e Only store content_encoded or description 2021-03-04 19:47:48 +01:00
Herbert Reiter
3e56e1bd64 Add Checkstyle rule to check for unused imports 2020-12-14 23:07:44 +01:00
ByteHamster
6d3cc1a9da Checkstyle fixes 2020-03-30 14:37:27 +02:00
ByteHamster
6a7375dd9b Added diff-checkstyle 2020-03-30 12:06:16 +02:00
ByteHamster
9e99b81f1e Enabled more checkstyle rules 2020-03-18 20:17:51 +01:00
ByteHamster
be076be737 Cleaned up checkstyle file a bit 2020-02-03 22:18:41 +01:00
ByteHamster
719af170a7 Enforce SeparatorWrap 2020-02-02 18:42:10 +01:00
ByteHamster
b656cb91a2 Enforce MethodParamPad 2020-02-02 18:42:06 +01:00
ByteHamster
8f08bd1f6d Enforce method names 2020-02-02 17:48:30 +01:00
ByteHamster
b2fb239853 Enforce valid javadoc 2020-02-02 17:48:30 +01:00
ByteHamster
26e91c0b81 Avoid too much nesting 2019-12-02 10:30:49 +01:00
H. Lehmann
58764f7ccb
Merge pull request #3549 from ByteHamster/checkstyle-whitespace
Checkstyle: whitespace after comma and cast
2019-10-23 21:21:26 +02:00
ByteHamster
6017e28787 Enforcing whitespace after comma 2019-10-23 20:50:45 +02:00
ByteHamster
2fb0d637a1 Enforce NoWhitespaceBefore checkstyle 2019-10-22 16:57:05 +02:00
ByteHamster
cc52fa04fa Enforce MultipleVariableDeclarations checkstyle 2019-10-22 16:53:35 +02:00
ByteHamster
6a4754922a Added more rules that we already fulfill 2019-10-22 16:50:04 +02:00
ByteHamster
1b61057dff Do not enforce Google checkstlye import order
The IntelliJ/AS default is different, so this would be a problem for most new developers.
Additionally, there definitely are more important things to enforce.
2019-10-22 16:36:51 +02:00
ByteHamster
5f75536ee5 Added best-practice checkstyle checks
This are the style guidelines I want to enforce throughout the project in the future.
Currently, huge parts of the app do not pass these checks but when developing something new,
we should add those checks to our IDEs.

They are basically the Google checks but with an increased line length from 100 to 120
characters and using 4 instead of 2 spaces for indentation.
2019-10-03 23:01:52 +02:00
ByteHamster
28a816b16c Enabled more checkstyle rules 2019-09-28 17:23:36 +02:00
ByteHamster
b7301ca360 Added checkstyle 2019-09-24 11:21:08 +02:00