GitXplorerGitXplorer
f

checkstyle-checks-java

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
ba13f816eaee85dd981e185d1c0085ef0b0b324a

2023-01-01 v. 1.1.0: added License (#3)

ffartem committed 2 years ago
Verified
4080c9dfa81739817475608d82ca8b03b0739eb2

2022-11-20 v. 1.1.0: refactored code (#2)

ffartem committed 2 years ago
Verified
c9e7624aa9106e05710e387cca575ff9a852bc72

2021-01-23 Version 1.1.0: Updated UtilityClassPrivateConstructorCheck (#1)

ffartem committed 4 years ago
Unverified
85d71c64470be18136fbc309151b897790b4f0e8

2021-02-05 Version 1.0.0: Updated build config

ffartem committed 4 years ago
Verified
15e0d1e15f7bf0de006c63cbb9f4ccbcf3f6f283

2021-01-13 Version 1.0.0: Updated installation info in README.md

ffartem committed 4 years ago
Verified
a5fad8567a86f5802e0c6516b9b0e59df21dcc6c

2021-01-13 Version 1.0.0: Updated .gitignore

ffartem committed 4 years ago

README

The README file for this repository.

checkstyle-checks-java

GitHubActions

About

Custom Checkstyle checks for Java projects.

Checks

Check Description
UtilityClassPrivateConstructorCheck Check primary private constructor in Utility class

Installation

Gradle

Add https://jitpack.io as Maven repository to build.gradle (needs for downloading dependencies from GitHub):

repositories {
    maven {
        url "https://jitpack.io"
    }
}

If you are using Checkstyle plugin for Gradle, add checks project as dependency in the dependencies section in the build.gradle:

checkstyle 'com.github.fartem:checkstyle-checks-java:master'

How to use

Add to TreeWalker module:

<module name="com.smlnskgmail.jaman.checkstyle.checks.UtilityClassPrivateConstructorCheck">
    <property name="id" value="UtilityClassPrivateConstructorCheck"/>
</module>

How to contribute

Read Commit Convention. Make sure your build is green before you contribute your pull request. Then:

./gradlew clean
./gradlew build

If you don't see any error messages, submit your pull request.

Contributors