Add Code Climate (#41)

* Add Code Climate

* Add flog and markdown
This commit is contained in:
Justin Licata 2017-11-22 11:14:16 -06:00 committed by GitHub
parent 781ff18580
commit 9688229160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 37 deletions

30
.codeclimate.yml Normal file
View File

@ -0,0 +1,30 @@
prepare:
fetch:
- "https://raw.githubusercontent.com/ProctorU/guides/master/style/ruby/.rubocop.yml"
- "https://raw.githubusercontent.com/ProctorU/guides/master/style/scss/.scss-lint.yml"
plugins:
brakeman:
enabled: true
fixme:
enabled: true
flog:
enabled: true
markdownlint:
enabled: true
reek:
enabled: true
rubocop:
enabled: true
scss-lint:
enabled: true
exclude_patterns:
- 'config/'
- 'db/'
- 'docs/'
- 'node_modules/'
- 'public/'
- 'test/'
- 'tmp/'
- 'vendor/'

View File

@ -1,7 +0,0 @@
# https://houndci.com/configuration
ruby:
enabled: true
config_file: .rubocop.yml
jshint:
enabled: false

View File

@ -1,30 +0,0 @@
# https://raw.githubusercontent.com/thoughtbot/hound/master/config/style_guides/ruby.yml
Layout/AlignArray:
Enabled: false
Layout/AlignHash:
Enabled: false
Layout/AlignParameters:
Enabled: false
Style/StringLiterals:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
LineLength:
Max: 80
ExtraSpacing:
Enabled: false
AbcSize:
Enabled: false
Layout/SpaceBeforeFirstArg:
Enabled: false
AmbiguousOperator:
Enabled: false
MultilineMethodCallIndentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/ParenthesesAroundCondition:
Enabled: false