--- ruleName: use-strict description: Requires using ECMAScript 5's strict mode. optionsDescription: |- 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. options: type: array items: type: string enum: - check-module - check-function minLength: 0 maxLength: 2 optionExamples: - '[true, "check-module"]' type: functionality optionsJSON: |- { "type": "array", "items": { "type": "string", "enum": [ "check-module", "check-function" ] }, "minLength": 0, "maxLength": 2 } layout: rule title: 'Rule: use-strict' ---