atom-import-js icon indicating copy to clipboard operation
atom-import-js copied to clipboard

Excluding folder .meteor does not work

Open derwaldgeist opened this issue 8 years ago • 3 comments

ImportJS is really cool, but I have problems excluding the folder .meteor.

Here's my setup:

module.exports = {
  declarationKeyword: 'import',
  environments: [
    'meteor', 'browser'
  ],
  excludes: ['.meteor/**', 'private/**', 'public/**']
}

To my understanding, this should exclude the .meteor folder, but it doesn't. I still get results from that folder.

I also tried /.meteor/** and .**/**, but none of them worked. If I try it in globtester, they are matched correctly.

derwaldgeist avatar Sep 02 '17 09:09 derwaldgeist

I have './.meteor/**' and it works for me

hexsprite avatar Sep 02 '17 15:09 hexsprite

Ok, will try this :-)

derwaldgeist avatar Sep 02 '17 15:09 derwaldgeist

Thanks for the report. It sounds like we should support both those glob patterns. A PR adding some kind of normalization to the glob patterns (adding a ./ might be enough) would be very appreciated!

trotzig avatar Sep 04 '17 08:09 trotzig