-
Notifications
You must be signed in to change notification settings - Fork 32
Support inline <script> #110
Comments
I'm also interested in this functionality. Seems that the jscs-dev/node-jscs#1038 is already merged. |
This would be awesome! |
👍 |
A PR implementing this would be great, it doesn't look like this package currently has an active maintainer. |
👍 |
I don't have a pull-request yet because it probably needs an option for "Lint inline JavaScript", and potentially my code should be cleaned up. The ETA: requiring extractJs directly from jscs seems to work; |
If linting that is entirely self contained (nothing external needed), I don't really see a reason to put it behind an option myself. We aren't currently allowing the use of a project's built in |
As Polymer and other web components frameworks have a lot of inline script tags, it would be nice for linter-jscs to be able to parse them as well, as linter-jshint is doing.
However, adding the source.js.embedded.html scope isn't enough as there is the need for jscs-dev/node-jscs#1038 to land (unsure how extracting will then play with inline save feature though).
The text was updated successfully, but these errors were encountered: