Rule: use-strict
Requires using ECMAScript 5’s strict mode.
Config
Two arguments may be optionally provided:
check-module
checks that all top-level modules are using strict mode.check-function
checks that all top-level functions are using strict mode.
Examples
"use-strict": [true, "check-module"]
Schema
{ "type": "array", "items": { "type": "string", "enum": [ "check-module", "check-function" ] }, "minLength": 0, "maxLength": 2 }