victorporof / Sublime-JSHint

JSHint Gutter for Sublime Text 2 and 3 via node.js
https://github.com/victorporof/Sublime-JSHint
682 stars 71 forks source link

Stupid "use strict" error everywhere #74

Closed bikasv closed 10 years ago

bikasv commented 10 years ago

It tries to check for "use strict" in every function and even closure of module (in module pattern). Practically, showing 20-25 JsHint errors, which are not. This practically renders the plugin unusable.

victorporof commented 10 years ago

I'm sorry you never read documentation, specifically about the "strict" and "globalstrict" options in jshint.

bikasv commented 10 years ago

I know you can do that using your setting But JSHint (or JSLint as a matter of fact) don't want "use strict" to be written in each function call. That's what's solid with this plugin.