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?
I think you should use:
Metrics/BlockLength: Exclude: - "app/**/*"
http://rubocop.readthedocs.io/en/latest/configuration/#includingexcluding-files
Copyright © 2021 Jogjafile Inc.
I think you should use:
http://rubocop.readthedocs.io/en/latest/configuration/#includingexcluding-files