Skip to content

Commit

Permalink
Experimenting with RuboCop.
Browse files Browse the repository at this point in the history
  • Loading branch information
TuckerJD committed Feb 17, 2016
1 parent fcc43e2 commit edd6abc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .rubocop.yml
Expand Up @@ -5,21 +5,20 @@ AllCops:
Exclude:
- 'db/**/*'
- 'script/**/*'


- 'tmp/**/*'

Metrics/LineLength:
Max: 200
Max: 200
# Use empty lines between defs.

Style/EmptyLineBetweenDefs:
# If true, this parameter means that single line method definitions don't
# need an empty line between them.
AllowAdjacentOneLineDefs: true
AllowAdjacentOneLineDefs: true

Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 20
Max: 20

Metrics/ClassLength:
CountComments: false # count full line comments?
Expand All @@ -31,7 +30,7 @@ Metrics/ModuleLength:

Metrics/ParameterLists:
Max: 5
CountKeywordArgs: false
CountKeywordArgs: false

Rails/FindBy:
Include:
Expand Down
2 changes: 1 addition & 1 deletion config.ru
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
require ::File.expand_path('../config/environment', __FILE__)
run Rails.application

0 comments on commit edd6abc

Please sign in to comment.