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
1 changed files with 27 additions and 9 deletions

View File

@ -1,5 +1,10 @@
---
engines:
version: "2"
checks:
file-lines:
config:
threshold: 2000
plugins:
csslint:
enabled: true
duplication:
@ -31,11 +36,24 @@ engines:
enabled: false
CleanCode/StaticAccess:
enabled: false
ratings:
paths:
- "css/privatebin.css"
- "css/bootstrap/privatebin.css"
- "js/privatebin.js"
- "lib/**.php"
- "index.php"
exclude_paths: []
phpcodesniffer:
enabled: true
config:
standard: "PSR1,PSR2,PHPCS,Zend"
sonar-php:
enabled: true
config:
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/"