File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 15
15
"regexp" : false , // Prohibit `.` and `[^...]` in regular expressions.
16
16
"undef" : true , // Require all non-global variables be declared before they are used.
17
17
"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.
19
19
"trailing" : true , // Prohibit trailing whitespaces.
20
20
21
21
// Relaxing Options //////////////////////////////////////////////////////////
29
29
"evil" : false , // Tolerate use of `eval`.
30
30
"expr" : false , // Tolerate `ExpressionStatement` as Programs.
31
31
"funcscope" : false , // Tolerate declaring variables inside of control structures while accessing them later
32
- "globalstrict" : true , // Allow global "use strict" (also enables 'strict').
33
32
"iterator" : false , // Allow usage of __iterator__ property.
34
33
"lastsemic" : false , // Tolerate semicolon omited for the last statement.
35
34
"laxbreak" : false , // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
1
3
module . exports = require ( './lib/argparse' ) ;
Original file line number Diff line number Diff line change 1
1
//
2
2
// Constants
3
3
//
4
+
5
+ 'use strict' ;
6
+
4
7
module . exports . EOL = '\n' ;
5
8
6
9
module . exports . SUPPRESS = '==SUPPRESS==' ;
You can’t perform that action at this time.
0 commit comments