Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Merge 52edf9c into d45c2de
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed Feb 23, 2018
2 parents d45c2de + 52edf9c commit c27bd3c
Show file tree
Hide file tree
Showing 23 changed files with 935 additions and 1,186 deletions.
64 changes: 64 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
inherit_from: .rubocop_todo.yml

# Turn on RSpec cops
require: rubocop-rspec
AllCops:
DisplayCopNames: true
Include:
- Rakefile
Exclude:
- Gemfile.lock
- '**/*.md'
- 'vendor/**/*' # travis puts gems here

Bundler/OrderedGems:
Exclude:
- Gemfile

# --- Layout ---

Layout/EmptyLinesAroundBlockBody:
Enabled: false

Layout/EmptyLinesAroundClassBody:
Enabled: false

Layout/EmptyLinesAroundModuleBody:
Enabled: false

Layout/SpaceAroundEqualsInParameterDefault:
Enabled: false

# --- Lint ---

# --- Metrics ---

Metrics/LineLength:
Max: 120 # this isn't 1994
Exclude:
- lib/archive/bagit_bag.rb
- lib/archive/fixity.rb
- spec/archive/bagit_bag_spec.rb
- spec/archive/fixity_spec.rb
- spec/archive/tarfile_spec.rb

# --- Naming ---

Naming/FileName:
Exclude:
- Gemfile
- archive-utils.gemspec
- lib/archive-utils.rb

# --- Performance ---

# --- RSpec ---

# --- Style ---

Style/StringLiterals:
Enabled: false # ' vs " isn't a big deal for readability or maintainability or execution time

Style/SymbolArray:
Exclude:
- Rakefile # [:spec, :rubocop] isn't a big deal

0 comments on commit c27bd3c

Please sign in to comment.