Sha256: ef21e89a63699a6b2d711b53b43012d87d8df75b0cc30c3d34f3c7fe7e57c1fb

Contents?: true

Size: 858 Bytes

Versions: 1

Compression:

Stored size: 858 Bytes

Contents

require: rubocop-rspec

# The EditorConfig class represents the .editorconfig file.
#
# This class has a fair amount of content and logic associated
# with it that doesn't make sense elsewhere, therefore I've
# decided to double the ClassLength requirements.
#
# Hopefully, this doesn't promote objects or classes that are
# too complex.
Metrics/ClassLength:
  Exclude:
  - 'lib/editorconfig/editor_config.rb'

# Specs shouldn't have a length cap as they should be verbose by
# design.
Metrics/ModuleLength:
  Exclude:
    - "**/*_spec.rb"

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

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

# The File Generator specs usually have longer example length
# due to string matching setup representing file content
RSpec/ExampleLength:
  Exclude:
  - 'spec/editor_config_generator/file_generator_spec.rb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
editorconfig_generator-0.2.3 .rubocop.yml