Permalink
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…
Cannot retrieve contributors at this time.
Cannot retrieve contributors at this time
require: rubocop-performance | |
require: rubocop-rspec | |
AllCops: | |
Exclude: | |
- '.internal_test_app/**/*' | |
- '.internal_test_gem/**/*' | |
- 'bin/**/*' | |
- 'db/**/*' | |
- 'lib/generators/warclight/templates/**/*' | |
- 'vendor/**/*' | |
TargetRubyVersion: 2.4 | |
DisplayCopNames: true | |
Rails: | |
Enabled: true | |
Metrics/LineLength: | |
Max: 120 | |
Exclude: | |
- 'Gemfile' | |
- 'spec/models/concerns/warclight/solr_document_spec.rb' | |
Metrics/ModuleLength: | |
Max: 120 | |
Metrics/ClassLength: | |
Max: 120 | |
Metrics/MethodLength: | |
Max: 20 | |
Metrics/BlockLength: | |
Exclude: | |
- !ruby/regexp /\.rake$/ | |
- 'warclight.gemspec' | |
- 'spec/**/*' | |
- 'lib/warclight/custom_document.rb' | |
Metrics/AbcSize: | |
Exclude: | |
- 'app/models/concerns/warclight/solr_document.rb' #Come back to this later | |
Performance/RegexpMatch: | |
Enabled: false | |
Rails/OutputSafety: | |
Exclude: | |
- 'app/controllers/concerns/warclight/field_config_helpers.rb' # html_safe needs to be called to mimic BL JOIN behavior | |
- 'app/models/concerns/warclight/solr_document.rb' | |
RSpec/ExampleLength: | |
Enabled: false | |
RSpec/MultipleExpectations: | |
Enabled: false | |
RSpec/NestedGroups: | |
Max: 4 | |
RSpec/DescribeClass: | |
Enabled: false | |
Rails/TimeZone: | |
Exclude: | |
- 'app/models/concerns/warclight/solr_document.rb' #Come back to this later | |
Style/Documentation: | |
Exclude: | |
- 'spec/**/*' | |
- 'lib/warclight.rb' | |
Style/ExpandPathArguments: | |
Exclude: | |
- warclight.gemspec | |
- lib/generators/warclight/install_generator.rb | |
- lib/generators/warclight/update_generator.rb | |
Bundler/DuplicatedGem: | |
Enabled: false | |
Lint/UselessAssignment: | |
Exclude: | |
- 'app/models/concerns/warclight/solr_document.rb' #Come back to this later | |
Style/RescueStandardError: | |
Exclude: | |
- app/helpers/warclight_helper.rb |