Fix "global-strict" lint
Reviewed By: @vjeux Differential Revision: D2420561
This commit is contained in:
parent
c71c940803
commit
d82af3cb92
|
@ -126,9 +126,7 @@
|
||||||
// Strict Mode
|
// Strict Mode
|
||||||
// These rules relate to using 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)
|
"strict": [2, "global"], // 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
|
|
||||||
|
|
||||||
// Variables
|
// Variables
|
||||||
// These rules have to do with variable declarations.
|
// These rules have to do with variable declarations.
|
||||||
|
|
Loading…
Reference in New Issue