.rubocop.yml
AllCops:
Exclude:
- wor-prof.gemspec
- spec/spy.rb
- spec/dummy/db/**/*
- spec/dummy/config/**/*
- spec/spec_helper.rb
- lib/generators/*
- lib/wprof/version.rb
Documentation:
Enabled: false
LineLength:
Max: 120
Metrics/MethodLength:
Max: 20
FrozenStringLiteralComment:
Enabled: false
Metrics/BlockLength:
Enabled: true
Exclude:
- spec/**/*
# rubocop-rspec custom configurations
require: rubocop-rspec
RSpec/ExampleLength:
Enabled: false
RSpec/AnyInstance:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Max: 5
Lint/AmbiguousBlockAssociation:
Enabled: false
RSpec/LetSetup:
Enabled: false
RSpec/FilePath:
Exclude:
- spec/dummy_controller_without_gems_spec.rb
- spec/matchers_spec.rb
- spec/dummy_controller_spec.rb