🚀 Adds CodeClimate

This commit is contained in:
Franck Nijhof 2017-11-12 17:16:39 +01:00
parent 83e80c2aa9
commit 507d06567d
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 35 additions and 0 deletions

15
.codeclimate.yml Normal file
View file

@ -0,0 +1,15 @@
---
engines:
fixme:
enabled: true
shellcheck:
enabled: true
markdownlint:
enabled: true
ratings:
paths:
- "**.sh"
- "**.md"
exclude_paths: [
"pi-hole/rootfs/usr/bin/list.sh"
]

19
.editorconfig Executable file
View file

@ -0,0 +1,19 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
ident_size = 4
[*.md]
ident_size = 2
trim_trailing_whitespace = false
[*.json]
ident_size = 2
[{.gitignore,.gitkeep,.editorconfig}]
ident_size = 2

0
.gitignore vendored Normal file
View file

1
.mdlrc Normal file
View file

@ -0,0 +1 @@
rules "~MD024"