You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One big strength of this plugin over using jshint directly is the console logger. Compare this:
sublimedemo.js: line 4, col 6, 'x' is defined but never used.
with
Linting sublimedemo.js ...ERROR
[L4:C6] W098: 'x' is defined but never used.
var x =1;
The above lacks the colored output this plugin actually provides, which also helps with the readability.
I don't yet know if there's any interest on the end of jshint, but I think we should at least try to upstream this logging implementation to make it available to all users of jshint, not just users of this plugin.
@vladikoff well, eventually. It seems like the best approach would be for one the contributors on this project to put together a pull request for JSHint, since that should avoid any copyright issues. That way we can keep track of that PR and update this plugin when the JSHint output matches.
One big strength of this plugin over using jshint directly is the console logger. Compare this:
sublimedemo.js: line 4, col 6, 'x' is defined but never used.
with
The above lacks the colored output this plugin actually provides, which also helps with the readability.
I don't yet know if there's any interest on the end of jshint, but I think we should at least try to upstream this logging implementation to make it available to all users of jshint, not just users of this plugin.
Looks to me like the relevant code is mostly this part in
tasks/lib/jshint.js
The text was updated successfully, but these errors were encountered: