Skip to content

Commit

Permalink
added rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aziz committed Feb 14, 2015
1 parent 7fbb2ff commit c948baf
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TODO.md
@@ -1,3 +1,5 @@
mv: rename /Users/allen.bargi/.z.tmp to /Users/allen.bargi/.z: No such file or directory

# Emacs:
- https://github.com/emacs-tw/awesome-emacs
- https://github.com/fniessen/emacs-leuven-theme
Expand Down
39 changes: 39 additions & 0 deletions rubocop.yml
@@ -0,0 +1,39 @@
require: rubocop-rspec

AllCops:
Include:
- lib/tasks/*.rake
- '**/Rakefile'
- '**/config.ru'
- '**/Gemfile'
Exclude:
- 'bin/*'
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'tmp/**/*'

Metrics/LineLength:
Max: 120

Metrics/MethodLength:
CountComments: false
Max: 15

Style/Documentation:
Enabled: false

Style/EmptyLinesAroundModuleBody:
Enabled: false

Style/EmptyLinesAroundClassBody:
Enabled: false

Style/AlignParameters:
EnforcedStyle: 'with_fixed_indentation'

Style/ClassAndModuleChildren:
Enabled: false

Style/FileName:
Enabled: false

0 comments on commit c948baf

Please sign in to comment.