Sha256: 6355dfeb3aef8ae14bca85d67d06107e321b3c8a61edd749ae1b785e377c841a

Contents?: true

Size: 886 Bytes

Versions: 3

Compression:

Stored size: 886 Bytes

Contents

# inherit_gem中のexclude dirの指定が効かないらしい
# https://github.com/bbatsov/rubocop/issues/4154
# excludeしているものは一旦このファイルに直接記入

inherit_gem:
  fablicop:
    - "config/.rubocop.yml"
    # uncomment if use rails cops
    # - "config/rails.yml"
    # uncomment if use rspec cops
    # - "config/rspec.yml"

AllCops:
  TargetRubyVersion: 2.3
  # uncomment if use rails cops
  # TargetRailsVersion: 5.1
  Exclude:
    - "vendor/**/*" # rubocop config/default.yml
    - "db/schema.rb"
    - "db/migrate/*"
    - "db/fixtures/**/*"
    - "test/factories/**/*"
    - "spec/factories/**/*"

##################### Metrics ##################################

Metrics/LineLength:
  Exclude:
    - "db/migrate/*.rb"

Metrics/MethodLength:
  Exclude:
    - "db/migrate/*.rb"

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fablicop-0.3.4 templates/.rubocop.yml
fablicop-0.3.3 templates/.rubocop.yml
fablicop-0.3.2 templates/.rubocop.yml