[TxMt] Need Help with Bundle Scope

Ryan Fitzer ryan at ryanfitzer.com
Tue Mar 5 20:08:21 UTC 2019


I have a bundle for linting JavaScript and I'm having trouble figuring out
how to handle JavaScript embedded in HTML. Currently, I'm expecting that
the `source.js` refers to a full file. This creates an issue since
`source.js` is also part of the scope when JavaScript is embedded in HTML,
causing my bundle to lint a full HTML document. Is there a way to configure
the bundle to ignore embedded JavaScript, or to dynamically switch to
linting only the embedded JavaScript?

This the bundle: https://github.com/ryanfitzer/eslint.tmbundle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20190305/ebe0c9dd/attachment.html>


More information about the textmate mailing list