Skip to content

Commit

Permalink
Updates rubocop and codeclimate configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bellone committed Jan 3, 2016
1 parent 94d9ca0 commit 16bf03e
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
9 changes: 9 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
engines:
foodcritic:
enabled: true
rubocop:
enabled: true
ratings:
paths:
- "**.rb"
3 changes: 0 additions & 3 deletions .coveralls.yml

This file was deleted.

59 changes: 27 additions & 32 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,44 @@
---
AllCops:
Exclude:
- 'Guardfile'
- 'Rakefile'
- 'Vagrantfile'
- 'Policyfile.rb'
- 'Berksfile'
- 'Thorfile'
- 'Gemfile'
- 'metadata.rb'
- 'test/**/*'
- 'bin/**'
- 'vendor/**/*'
AlignParameters:
Enabled: false

Encoding:
Enabled: false

ClassLength:
Enabled: false

MethodLength:
Enabled: false

LineLength:
CyclomaticComplexity:
Enabled: false

Documentation:
Enabled: false

PerceivedComplexity:
Enabled: false

CyclomaticComplexity:
Encoding:
Enabled: false

Style/FileName:
Enabled: false

Style/FirstParameterIndentation:
Enabled: false

Style/ClassAndModuleChildren:
LineLength:
Enabled: false

Style/PercentLiteralDelimiters:
MethodLength:
Enabled: false

Metrics/AbcSize:
Enabled: false

AllCops:
Exclude:
- 'Guardfile'
- 'test/**/*'
- 'bin/*'
- 'vendor/**/*'

PerceivedComplexity:
Enabled: false
SingleSpaceBeforeFirstArg:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/FileName:
Enabled: false
Style/GuardClause:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ notifications:
script: bundle exec rake travis
cache: bundler
rvm:
- 2.1
- 2.2
branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ consul-cookbook
[![Join the chat at https://gitter.im/johnbellone/consul-cookbook](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/johnbellone/consul-cookbook?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
![Release](http://img.shields.io/github/release/johnbellone/consul-cookbook.svg)
[![Build Status](http://img.shields.io/travis/johnbellone/consul-cookbook.svg)](http://travis-ci.org/johnbellone/consul-cookbook)
[![Code Coverage](http://img.shields.io/coveralls/johnbellone/consul-cookbook.svg)](https://coveralls.io/r/johnbellone/consul-cookbook)
[![Code Coverage](http://img.shields.io/codeclimate/github/johnbellone/consul-cookbook.svg)](https://codeclimate.com/github/johnbellone/consul-cookbook)

[Application cookbook][0] which installs and configures [Consul][1].

Expand Down

0 comments on commit 16bf03e

Please sign in to comment.