Added support for codeclimate (#5034)

This commit is contained in:
Neil Lathwood
2016-11-21 20:48:58 +00:00
committed by GitHub
parent 90d85d9968
commit f488e0b689
2 changed files with 48 additions and 0 deletions

47
.codeclimate.yml Normal file
View File

@ -0,0 +1,47 @@
---
engines:
markdownlint:
enabled: true
phan:
enabled: true
config:
file_extensions: "php"
engines:
phpcodesniffer:
enabled: true
config:
standard: "PSR2"
duplication:
enabled: true
config:
languages:
- javascript
- python
- php
shellcheck:
enabled: true
eslint:
enabled: true
fixme:
enabled: true
phpmd:
enabled: true
radon:
enabled: true
ratings:
paths:
- "**.css"
- "**.coffee"
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
exclude_paths:
- tests/
- lib/
- html/js/
- html/css/
- html/lib/

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
!/.travis.yml !/.travis.yml
!/.php_cs !/.php_cs
!/.github/ !/.github/
!/.codeclimate.yml
# Others # # Others #
########## ##########