Skip to content

Commit

Permalink
Docs: Note to --fix option for strict rule (#8680)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets authored and ilyavolodin committed Jun 2, 2017
1 parent 4df33e7 commit b4daa22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/rules/strict.md
Expand Up @@ -49,6 +49,8 @@ This rule disallows strict mode directives, no matter which option is specified,

This rule disallows strict mode directives, no matter which option is specified, in functions with non-simple parameter lists (for example, parameter lists with default parameter values) because that is a syntax error in **ECMAScript 2016** and later. See the examples of the [function](#function) option.

The `--fix` option on the command line does not insert new `"use strict"` statements, but only removes unneeded statements.

## Options

This rule has a string option:
Expand Down

0 comments on commit b4daa22

Please sign in to comment.