Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] Make
strict: func
have precedence over env options.
Now it is possible to ovverride node, phantom, module and browserify's `strict: global` using `strict: func`, so that JSHint warns if `"use strict";` isn't in a function. Example: /* jshint node: true, strict: func */ "use strict"; // Warning: Use the function form of "use strict". Env options still have precedence over `strict: true`.
- Loading branch information
1 parent
ae48966
commit d138db8
Showing
3 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters