-1
Metrics/BlockLength:
  Excludes:
    - '/app/**'

I have this .rubocop.yml, I am expecting rubocop to not to complain only for whatever files under app regarding the block length. But it still complains, is there something I am missing?

gates
  • 4,465
  • 7
  • 32
  • 60

1 Answers1

0

I think you should use:

Metrics/BlockLength:
  Exclude:
    - "app/**/*"

http://rubocop.readthedocs.io/en/latest/configuration/#includingexcluding-files

gabrielhilal
  • 10,660
  • 6
  • 54
  • 81