Closed laedri closed 8 years ago
Which linter are you using? It seems like you just need to specify an entry in your config file to tell whichever linter you are using that chrome
and $
are known variables.
JSHint. I didn't know that I can define known variables. Thanks.
Awesome. Glad it works.
I have Chrome extension, and I use it jQuery in that extension.
Linter gives me error about
chrome.tabs.executeScript({ // foo });
(chrome not defined) and$('foo')
($ not defined). I don't want to see these errors. How can I skip them?