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:
parent
bc1f6efc40
commit
46e801b2b7
2 changed files with 18 additions and 0 deletions
16
.codeclimate.yml
Normal file
16
.codeclimate.yml
Normal 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
2
.rubocop.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
AllCops:
|
||||
DisabledByDefault: false
|
Loading…
Reference in a new issue