Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d82af3c

Browse files
franticfacebook-github-bot-8
authored and
facebook-github-bot-8
committed
Fix "global-strict" lint
Reviewed By: @vjeux Differential Revision: D2420561
1 parent c71c940 commit d82af3c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.eslintrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@
126126
// Strict Mode
127127
// These rules relate to using strict mode.
128128

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

133131
// Variables
134132
// These rules have to do with variable declarations.

0 commit comments

Comments
 (0)