Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 511 Bytes

strictMode.md

File metadata and controls

27 lines (27 loc) · 511 Bytes

Strict Mode

Rule Description Snippet ESLint Default Link
strict Controls location of Use Strict Directives
// "strict": [2, "never"] // disallow use of Strict directive
// "strict": [2, "global"] // only allow in global scope
// "strict": [2, "function"] // only allow in functions
Off [Link](http://eslint.org/docs/rules/strict)