mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-07 12:48:03 +02:00
* #1627 Replace BCryptService with Maven dependency - Remove BCryptService in favor of a better BCrypt implementation (Maven dependency) - Introduce BCryptHasher wrapping the dependency with more suitable methods - Fix inaccurate details about salt length in docu annotation: for BCrypt it's always 22 chars - Change phpBB hash to produce 2y hashes instead of 2a * #1627 Use UTF-8 encoding when (dis)assembling Strings * #1627 Small test additions
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
version: '2' # required to adjust maintainability checks
|
|
|
|
plugins:
|
|
checkstyle:
|
|
enabled: true
|
|
config:
|
|
file: '.checkstyle.xml'
|
|
|
|
checks:
|
|
# We disable all the following CodeClimate checks: Checkstyle already checks for these things and has the advantage
|
|
# that the Checkstyle config can also be used in one's IDE.
|
|
argument-count:
|
|
enabled: false
|
|
complex-logic:
|
|
enabled: false
|
|
file-lines:
|
|
enabled: false
|
|
method-complexity:
|
|
enabled: false
|
|
method-count:
|
|
enabled: false
|
|
method-lines:
|
|
enabled: false
|
|
nested-control-flow:
|
|
enabled: false
|
|
return-statements:
|
|
enabled: false
|
|
similar-code:
|
|
enabled: false
|
|
# The "identical-code" check would be cool to enable since Checkstyle offers no such functionality, but it is
|
|
# too aggressive and we'd have to suppress many reported warnings.
|
|
identical-code:
|
|
enabled: false
|
|
|
|
exclude_patterns:
|
|
# Exclude code from third-party sources
|
|
- 'src/main/java/fr/xephi/authme/mail/OAuth2Provider.java'
|
|
- 'src/main/java/fr/xephi/authme/mail/OAuth2SaslClient.java'
|
|
- 'src/main/java/fr/xephi/authme/mail/OAuth2SaslClientFactory.java'
|
|
- 'src/main/java/fr/xephi/authme/security/crypts/PhpBB.java'
|
|
- 'src/main/java/fr/xephi/authme/security/crypts/Whirlpool.java'
|
|
- 'src/main/java/fr/xephi/authme/security/crypts/Wordpress.java'
|
|
# Don't check test classes
|
|
- 'src/test/java/**/*Test.java'
|