Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

Commit

Permalink
RuboCop config files
Browse files Browse the repository at this point in the history
  • Loading branch information
volmer committed Nov 23, 2014
1 parent f9414b9 commit b174b99
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
AllCops:
RunRailsCops: true
Exclude:
- 'spec/**/*'
- 'features/support/*'
- 'lib/tasks/cucumber.rake'
- 'script/*'
Metrics/MethodLength:
Max: 15
4 changes: 4 additions & 0 deletions app/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
inherit_from:
- ../.rubocop.yml
Style/Documentation:
Enabled: false
2 changes: 2 additions & 0 deletions db/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
inherit_from:
- ../app/.rubocop.yml
4 changes: 4 additions & 0 deletions features/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
inherit_from:
- ../.rubocop.yml
Metrics/LineLength:
Max: 120
4 changes: 4 additions & 0 deletions lib/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
inherit_from:
- ../.rubocop.yml
Style/ClassVars:
Enabled: false

0 comments on commit b174b99

Please sign in to comment.