Daniel Martí
65f292708c
checkstyle: Add AvoidStaticImport
...
Plus bonus build fix (whoops).
2015-10-09 11:04:39 +02:00
Daniel Martí
2249ad59da
checkstyle: Add StaticVariableName
2015-10-09 11:02:19 +02:00
Daniel Martí
caa91186cc
checkstyle: Add LocalFinalVariableName
2015-10-09 10:59:44 +02:00
Daniel Martí
6ee3dba3ea
checkstyle: Add LocalVariableName
2015-10-09 10:56:50 +02:00
Daniel Martí
b5f62c03cb
checkstyle: Add MemberName
2015-10-09 10:55:27 +02:00
Daniel Martí
48b7096523
checkstyle: Enable some naming checks we obey
2015-10-09 10:50:13 +02:00
Daniel Martí
bd68caa152
checkstyle: Add FallThrough
...
With bonus bugfix.
2015-10-08 23:33:29 +02:00
Daniel Martí
638daf83cf
checkstyle: Add OneStatementPerLine
...
Also OneTopLevelClass, but we're not there yet
2015-10-08 22:29:32 +02:00
Daniel Martí
d97319efb7
checkstyle: Add DefaultComesLast
2015-10-08 22:25:38 +02:00
Daniel Martí
7bbcbf25a6
checkstyle: Add EmptyLineSeparator
2015-10-08 22:23:10 +02:00
Daniel Martí
f5352eaf28
checkstyle: Add ArrayTrailingComma
2015-10-08 22:15:51 +02:00
Daniel Martí
3f8875ab9c
checkstyle: Add EqualsAvoidNull
2015-10-08 22:09:51 +02:00
Daniel Martí
174e37e4e0
checkstyle: Add ExplicitInitialization
2015-10-08 22:01:09 +02:00
Daniel Martí
38cc95b035
checkstyle: Add StringLiteralEquality
2015-10-08 21:53:02 +02:00
Daniel Martí
0a13cf5c63
checkstyle: Add UnnecessaryParentheses
2015-10-08 21:50:46 +02:00
Daniel Martí
561d7833d1
checkstyle: Add indentation
2015-10-08 21:41:38 +02:00
Daniel Martí
3eb758f1b2
checkstyle: Add WhitespaceAround
2015-10-08 20:01:37 +02:00
Daniel Martí
95b53706f9
checkstyle: Add NoWhitespace{Before,After}
2015-10-08 19:49:43 +02:00
Daniel Martí
793788eadf
checkstyle: enable and apply WhitespaceAfter
2015-10-08 19:44:31 +02:00
Daniel Martí
5736c70dc8
checkstyle: enable and apply FinalClass
2015-10-08 19:29:04 +02:00
Daniel Martí
2b0e6dade1
checkstyle: enable ModifierOrder and apply it
2015-10-08 18:59:41 +02:00
Daniel Martí
7c6888b5d4
checkstyle: remove rules that will never be used
2015-10-08 18:58:40 +02:00
Daniel Martí
1f973a7c88
checkstyle: Enable and apply AvoidNestedBlocks
2015-10-08 17:26:27 +02:00
Daniel Martí
999fa6eb21
Add checkstyle with a small config
...
It doesn't include all of the Android style checks as found in Android Studio,
but it's a start.
Bump Gradle to 2.7 because the checkstyle plugin in earlier versions is just
not good enough.
2015-10-08 17:26:27 +02:00