starburstgem/starburst

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
---
require: rubocop-rspec

AllCops:
  Exclude:
    - 'gemfiles/*.gemfile'
    - 'spec/dummy/db/schema.rb'
  NewCops: enable

Layout/ArgumentAlignment:
  EnforcedStyle: with_fixed_indentation

Layout/EmptyLineAfterMagicComment:
  Exclude:
    - 'spec/dummy/db/migrate/*.rb'

Layout/HashAlignment:
  EnforcedHashRocketStyle: table

Layout/LineLength:
  Max: 120

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Layout/ParameterAlignment:
  EnforcedStyle: with_fixed_indentation

Metrics/BlockLength:
  Exclude:
    - 'Rakefile'
    - '*.gemspec'
    - '**/*.rake'
    - 'spec/factories/**/*.rb'
    - 'spec/**/*_spec.rb'

Metrics/MethodLength:
  Exclude:
    - 'db/migrate/*.rb'
    - 'spec/dummy/db/migrate/*.rb'

Rails:
  Enabled: true

RSpec/DescribeClass:
  Exclude:
    - 'spec/features/**/*_spec.rb'

RSpec/LetSetup:
  Enabled: false

RSpec/MultipleExpectations:
  Exclude:
    - 'spec/features/**/*_spec.rb'

RSpec/NestedGroups:
  Max: 5

Style/Documentation:
  Exclude:
    - 'db/migrate/*.rb'
    - 'spec/dummy/**/*.rb'