mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added support for codeclimate (#5034)
This commit is contained in:
47
.codeclimate.yml
Normal file
47
.codeclimate.yml
Normal 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
1
.gitignore
vendored
@ -7,6 +7,7 @@
|
||||
!/.travis.yml
|
||||
!/.php_cs
|
||||
!/.github/
|
||||
!/.codeclimate.yml
|
||||
|
||||
# Others #
|
||||
##########
|
||||
|
Reference in New Issue
Block a user