Skip to content

Commit

Permalink
Merge pull request #1052 from Growstuff/dev
Browse files Browse the repository at this point in the history
Release 15
  • Loading branch information
pozorvlak authored Nov 24, 2016
2 parents 3bfe232 + 916fd73 commit e95566e
Show file tree
Hide file tree
Showing 256 changed files with 4,409 additions and 1,318 deletions.
4 changes: 4 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ engines:
- javascript
fixme:
enabled: true
exclude_fingerprints: # rubocop_todo filename
- 63b8552079d106832fbe281566b6d028
- d38afbaaea3ecaa9a4cf046b07a01cec
- 57ff3968fd371d3e1f75c237d6c78acf
ratings:
paths:
- "**.rb"
Expand Down
48 changes: 48 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
inherit_from: .rubocop_todo.yml
AllCops:
Include:
- 'Rakefile'
- 'config.ru'
- 'lib/**/*.rake'
Exclude:
- 'db/schema.rb'
- 'vendor/**/*'

Style/StringLiterals:
Enabled: false

Metrics/MethodLength:
Description: 'Avoid methods longer than 30 lines of code.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
# Set to 30 once all methods are fixed.
# Max: 30
Max: 104

# Remove the following once the code style matches
# Offense count: 59
Metrics/AbcSize:
Max: 115

# Offense count: 5
# Configuration parameters: CountComments.
Metrics/BlockLength:
Max: 62

# Offense count: 6
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 275

# Offense count: 6
Metrics/CyclomaticComplexity:
Max: 11

# Offense count: 1108
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
# URISchemes: http, https
Metrics/LineLength:
Max: 223

# Offense count: 8
Metrics/PerceivedComplexity:
Max: 12
Loading

0 comments on commit e95566e

Please sign in to comment.