Skip to content

Commit

Permalink
Fix "global-strict" lint
Browse files Browse the repository at this point in the history
Reviewed By: @vjeux

Differential Revision: D2420561
  • Loading branch information
frantic authored and facebook-github-bot-8 committed Sep 9, 2015
1 parent c71c940 commit d82af3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@
// Strict Mode
// These rules relate to using strict mode.

"global-strict": [2, "always"], // require or disallow the "use strict" pragma in the global scope (off by default in the node environment)
"no-extra-strict": 1, // disallow unnecessary use of "use strict"; when already in strict mode
"strict": 0, // require that all functions are run in strict mode
"strict": [2, "global"], // require or disallow the "use strict" pragma in the global scope (off by default in the node environment)

// Variables
// These rules have to do with variable declarations.
Expand Down

0 comments on commit d82af3c

Please sign in to comment.