Commit graph

142 commits

Author SHA1 Message Date
dependabot[bot]
c744916e8c Bump checkstyle from 8.18 to 8.19 (#188)
* Bump checkstyle from 8.18 to 8.19

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.18 to 8.19.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.18...checkstyle-8.19)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Remove license header in source files

The Header rule was removed in a previous version of
kemitix-checkstyle-ruleset and the formatting is not longer compatible
with the JavadocParagraph rule.
2019-04-04 14:33:42 +01:00
6ab6b8ae17
Removed dependency upon net.kemitix:conditional to avoid circular dependency (#174) 2019-03-04 19:31:39 +00:00
90e3f8cd70
Improve use of properties in tile (#164)
* [tile] improve use of properties

* [tile] rename property to match project name

* [readme] remove codacy and sonar badges properly

* [changelog] updated
2019-02-02 19:12:33 +00:00
df4cf31c04
Disable AbstractClassName (#144)
* Disable AbstractClassNanme rule

* [changelog] convert to org-mode format
2018-11-11 16:22:14 +00:00
8f5a12d7af
Reduce some overly-strict requirements and fix some typos (#141)
* Disable JavadocMethod

* Disable Header

* Fix example for ReturnBooleanFromTernary check

* Disable SimeplAccessorNameNotation

* Fix typo in UselessSingleCatch

* Fix typo in UselessSuperCtorCall
2018-11-06 20:40:44 +00:00
dependabot[bot]
2732c2ca47 Bump classgraph from 4.2.9 to 4.2.12 (#133)
* Bump classgraph from 4.2.9 to 4.2.12

Bumps [classgraph](https://github.com/classgraph/classgraph) from 4.2.9 to 4.2.12.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](https://github.com/classgraph/classgraph/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Use try-with-resources to close ClassGraph's ScanResult

ClassGraph 4.2.10 highlighted the need to close the ScanResult over depending on
automated methods.

* [changelog] updated
2018-10-11 07:32:54 +01:00
85332abf47 Make set-version update versions correctly 2018-10-07 18:13:09 +01:00
a38d06c2c0 Rename class DefaultPackageScanner as ClassGraphPackageScanner
The DefaultPackageScanner is implemented by using ClassGraph, so renaming the
class to better reflect this.

Also added a link to the ClassGraph github page.
2018-10-05 07:50:47 +01:00
8d7c4e2268 Replace RedundantModifier with InterfaceMemberImpliedModifier 2018-08-27 21:31:59 +01:00
d5f4a736a7 Move LambdaParameterName to correct section of file 2018-08-27 20:17:41 +01:00
9bb66eb993 [ruleset] Add rule LambdaParameterName 2018-08-27 13:46:21 +01:00
f53b638441 Replace fast-classpath-scanner with classgraph 2018-08-26 19:25:36 +00:00
e8d19fd52a Update test to match property indentation change 2018-08-26 18:24:19 +01:00
072400bd18 Update bagde images properly 2018-08-26 18:07:34 +01:00
ee7eb75ffb ruleset: fix order of properties and adjust indentation 2018-08-26 15:49:02 +01:00
f5665a0733 Update badges in README template 2018-08-26 15:32:33 +01:00
71ac9e5c6a README: update version badges to the correct gav coordinates 2018-07-28 22:21:19 +01:00
a5388942a7 README: update template so mail changes don't get lost in main file
Also removed jenkins badges as they aren't working
2018-07-07 13:46:01 +01:00
0dd7926851 Version set to DEV-SNAPSHOT 2018-07-07 12:43:04 +01:00
604acf2509 Use Files.readAllLines 2018-05-15 19:52:16 +01:00
2934bb11ea Close file ready with try-with-resources 2018-05-15 19:41:40 +01:00
0adcb4ee35 Use the correct ruleset version used in the tile 2018-05-15 17:10:33 +01:00
058df393d0 Remove regressions module - not adding anything valuable 2018-05-14 20:30:13 +01:00
0b0f11430e Upgrade tiles-maven-plugin to 2.11 2018-04-19 21:04:55 +01:00
ea2c909a32 EmptyLineSeparator: disable 2018-04-19 21:04:55 +01:00
77394ad5d3 builder: refactoring to reduce complexity 2018-03-11 18:37:22 +00:00
423255b704 ruleset: update to match kemitix-pmd-ruleset
FileLength: restrict to 500 lines
JavaNCSS: reduce limits (class & file 250, method 12)
MethodCount: reduce to 10
MethodLength: reduce to 30
2018-03-11 11:46:17 +00:00
4de6b39821 builder: PackageScanner now returns a List rather than a Stream 2018-03-11 09:01:14 +00:00
359d15b78f builder: Clean up Configuration 2018-03-11 08:51:03 +00:00
d59cb7b879 builder: use FastClasspathScanner for Java 8 too 2018-03-11 08:39:20 +00:00
7ba2b557e3 builder: scan class path in java 9 2018-03-10 23:41:35 +00:00
f333d47613 builder: split Java 8 and 9 class path scanning - java 9 unsupported 2018-03-10 22:52:08 +00:00
defa19a143 builder: use BuilderConfiguration to provide the classLoader 2018-03-10 08:27:45 +00:00
ede3db53bf Remove unused imports 2018-01-25 06:59:09 +00:00
fd63f94a27 Add test for checkClasses bean 2018-01-25 06:55:18 +00:00
d3f86fc318 Remove use of @PostContruct 2018-01-24 21:55:52 +00:00
3c83b78cea Test should be using interface 2018-01-24 21:47:17 +00:00
62c81bd0b3 version set to 4.0.1 2018-01-20 22:27:25 +00:00
faae9e9afa Change ruleset groupId/artifactId to net.kemitix.checkstyle.ruleset
Add tile maven-tile
Update README
2018-01-16 22:23:33 +00:00
5b5c0673a0 Restore Header and JavadocPackage checks 2018-01-14 19:13:34 +00:00
54fa8f0be4 [bug] update the ruleset files and add missing reasons for deactivated rules 2018-01-14 19:13:13 +00:00
c8c6b1ae57 Disable JavadocPackage check 2018-01-06 08:21:58 +00:00
84013ee1ae Disable AvoidStaticImport check 2018-01-06 08:18:39 +00:00
e18668dea7 Disable AvoidStarImport check 2018-01-06 08:18:23 +00:00
f20517a8e7 Disable Header check 2018-01-06 08:18:05 +00:00
fa9cc33a4d Remove requirement for @auther in Type Javadoc 2018-01-06 08:17:38 +00:00
87358bfe92 Update builder tests 2018-01-05 22:22:18 +00:00
90e3652e6e {builder,plugin}:*Test: replace deprecated org.mockito.Matchers.* imports 2017-07-13 14:19:39 +01:00
7b144fdb0a AvoidDefaultSerializableInInnerClasses: enable rule 2017-07-13 11:57:44 +01:00
3fe3d16d42 FinalizeImplementation: enable rule 2017-07-05 15:30:33 +01:00