1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Add some codeclimate recommended config

Codeclimate automatically generates a configuration and recommends
applying it. I have applied some of the options they specify.

The only thing I removed was the restriction of rubocop checks
which we are currently failing (I'd prefer they fail) and
additional languages such as php, python and javascript which
had strangely been added to the config.
This commit is contained in:
Gerard Caulfield 2016-07-04 17:18:40 +10:00
parent bc1f6efc40
commit 46e801b2b7
No known key found for this signature in database
GPG key ID: 623B327128A9BEC3
2 changed files with 18 additions and 0 deletions

16
.codeclimate.yml Normal file
View file

@ -0,0 +1,16 @@
---
engines:
duplication:
enabled: true
config:
languages:
- ruby
fixme:
enabled: true
rubocop:
enabled: true
ratings:
paths:
- "**.rb"
exclude_paths:
- spec/

2
.rubocop.yml Normal file
View file

@ -0,0 +1,2 @@
AllCops:
DisabledByDefault: false