funkwerk/gherkin_lint

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-08-11 02:50:03 +0200 using RuboCop version 0.42.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
Metrics/AbcSize:
  Max: 16

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 123

# Offense count: 33
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
  Max: 116
  Exclude:
    - "**/*_spec.rb"
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 11

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  Exclude:
    - 'lib/gherkin_lint/linter/file_name_differs_feature_name.rb'

Metrics/ModuleLength:
  Exclude:
    - "**/*_spec.rb"

Metrics/BlockLength:
  Exclude:
    - "**/*_spec.rb"

Layout/IndentationWidth:
  Exclude:
    - "**/*_spec.rb"

Layout/IndentHeredoc:
  Exclude:
    - "**/*_spec.rb"