Closed hmcguire-shopify closed 2 years ago
Fix '**/vendor/**/*' glob broken in dc7cc2553dd33df2466a5a31c6cd91d9e1ed7b60
'**/vendor/**/*'
This is similar to the strategy rubocop uses here https://github.com/rubocop/rubocop/blob/d19f902705cb5772f0bc81d87ac652c84bb4c99a/lib/rubocop/config.rb#L163 where they check against absolute and relative paths
I created an example repo to show that both absolute and relative globs work: https://github.com/hmcguire-shopify/erblint-0-1-2-exclude
cc @rafaelfranca
Fixes #258
Thanks!
Fix
'**/vendor/**/*'
glob broken in dc7cc2553dd33df2466a5a31c6cd91d9e1ed7b60This is similar to the strategy rubocop uses here https://github.com/rubocop/rubocop/blob/d19f902705cb5772f0bc81d87ac652c84bb4c99a/lib/rubocop/config.rb#L163 where they check against absolute and relative paths
I created an example repo to show that both absolute and relative globs work: https://github.com/hmcguire-shopify/erblint-0-1-2-exclude
cc @rafaelfranca
Fixes #258