updating CodeClimate configuration

This commit is contained in:
El RIDO 2018-01-06 13:56:03 +01:00
parent ffae6111b0
commit f179e75e72
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -1,5 +1,10 @@
--- ---
engines: version: "2"
checks:
file-lines:
config:
threshold: 2000
plugins:
csslint: csslint:
enabled: true enabled: true
duplication: duplication:
@ -31,11 +36,24 @@ engines:
enabled: false enabled: false
CleanCode/StaticAccess: CleanCode/StaticAccess:
enabled: false enabled: false
ratings: phpcodesniffer:
paths: enabled: true
- "css/privatebin.css" config:
- "css/bootstrap/privatebin.css" standard: "PSR1,PSR2,PHPCS,Zend"
- "js/privatebin.js" sonar-php:
- "lib/**.php" enabled: true
- "index.php" config:
exclude_paths: [] tests_patterns:
- tst/**
exclude_patterns:
- "cfg/"
- "css/"
- "!css/privatebin.css"
- "!css/noscript.css"
- "!css/bootstrap/privatebin.css"
- "js/"
- "!js/privatebin.js"
- "!js/common.js"
- "!js/test/"
- "vendor/"