mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-29 13:45:16 +01:00
32a664ef59
- Add new checkstyle checks: require Javadoc on large private methods, default in switch, declaration order & others - Update path exclusions in CodeClimate config to match newly renamed classes (e.g. PHPBB -> PhpBB) - Create consistency check testing that excluded paths exist as classes - Fix some trivial violations
31 lines
865 B
YAML
31 lines
865 B
YAML
engines:
|
|
duplication:
|
|
enabled: true
|
|
config:
|
|
languages:
|
|
- java
|
|
- php
|
|
checkstyle:
|
|
enabled: true
|
|
channel: beta
|
|
config: '.checkstyle.xml'
|
|
pmd:
|
|
enabled: true
|
|
channel: beta
|
|
checks:
|
|
AvoidUsingHardCodedIP:
|
|
enabled: false
|
|
ratings:
|
|
paths:
|
|
# Check only production files
|
|
- 'src/main/java/**'
|
|
exclude_paths:
|
|
# 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/BCryptService.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'
|