Skip to content

Commit 6d5ff55

Browse files
committedJan 13, 2016
fix for latest jshint
1 parent e46e471 commit 6d5ff55

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
 

‎.jshintrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"regexp" : false, // Prohibit `.` and `[^...]` in regular expressions.
1616
"undef" : true, // Require all non-global variables be declared before they are used.
1717
"unused" : true, // Warns when you define and never use your variables
18-
"strict" : true, // Require `use strict` pragma in every file.
18+
"strict" : "global", // Require `use strict` pragma in every file.
1919
"trailing" : true, // Prohibit trailing whitespaces.
2020

2121
// Relaxing Options //////////////////////////////////////////////////////////
@@ -29,7 +29,6 @@
2929
"evil" : false, // Tolerate use of `eval`.
3030
"expr" : false, // Tolerate `ExpressionStatement` as Programs.
3131
"funcscope" : false, // Tolerate declaring variables inside of control structures while accessing them later
32-
"globalstrict" : true, // Allow global "use strict" (also enables 'strict').
3332
"iterator" : false, // Allow usage of __iterator__ property.
3433
"lastsemic" : false, // Tolerate semicolon omited for the last statement.
3534
"laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.

‎index.js

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
'use strict';
2+
13
module.exports = require('./lib/argparse');

‎lib/const.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
//
22
// Constants
33
//
4+
5+
'use strict';
6+
47
module.exports.EOL = '\n';
58

69
module.exports.SUPPRESS = '==SUPPRESS==';

0 commit comments

Comments
 (0)
Please sign in to comment.