diff options
| author | mo <mo@mokhan.ca> | 2018-10-18 19:00:55 -0600 |
|---|---|---|
| committer | mo <mo@mokhan.ca> | 2018-10-18 19:00:55 -0600 |
| commit | c3738de1649eba3f32b347cfcbea52be5801c2cf (patch) | |
| tree | ae751cf7b0a28fb1974a43eac335b78956fad4a0 /.rubocop.yml | |
| parent | 03b2b0a615ad229e92152e6d0e331b51d8528d70 (diff) | |
try rubocop-rspec
Diffstat (limited to '.rubocop.yml')
| -rw-r--r-- | .rubocop.yml | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index ae1fefc..a74c681 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,4 @@ +require: rubocop-rspec # For a list of available cops see: # https://github.com/bbatsov/rubocop/blob/master/config/default.yml AllCops: @@ -11,20 +12,45 @@ AllCops: - 'db/seeds.rb' - 'node_modules/**/*' - 'pkg/**/*' - - 'spec/**/*' - - 'test/**/*' - 'tmp/**/*' - 'vendor/**/*' Metrics/AbcSize: Enabled: false +Metrics/BlockLength: + Exclude: + - 'spec/**/*' + +Metrics/LineLength: + Exclude: + - 'spec/**/*' + Metrics/MethodLength: Enabled: false Metrics/PerceivedComplexity: Enabled: false +RSpec/DescribeClass: + Enabled: false + +RSpec/ExampleLength: + Exclude: + - 'spec/system/**/*' + +RSpec/LetSetup: + Enabled: false + +RSpec/MultipleExpectations: + Max: 2 + +RSpec/NamedSubject: + Enabled: false + +RSpec/NestedGroups: + Max: 5 + Style/Documentation: Enabled: false |
