jshint yields 'redefinition of open'
niftylettuce opened this issue · 5 comments
niftylettuce commented
when using syntax checking via syntastic for example
jjrdn commented
Can you give me more information on this?
I'm using jshint 0.9.1 and cannot reproduce this. I assume we are talking about lib/open.js?
pwnall commented
Closing due to lack of response from @niftylettuce.
backflip commented
I'm having the same issue. Using var open = require('open');
in my gulpfile.js
throws above error message when hinting the file using https://sublime.wbond.net/packages/JSHint%20Gutter in Sublime Text 3.
feross commented
window.open
exists in the browser. If you have { browser: true }
in your .jshintrc
it must think that you're overwriting it.
niftylettuce commented
thanks @feross, just encountered this again and it makes sense