documentation shows incorrect "outerIIFEBody" option values for indent
rule
#6581
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
documentation
Relates to ESLint's documentation
rule
Relates to ESLint's core rules
What version of ESLint are you using?
3.0.0
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
Linted a file – the source code is irrelevant, as the error happens for any code file.
What did you expect to happen?
The file should have been successfully linted.
What actually happened? Please include the actual, raw output from ESLint.
The file was not successfully linted, and ESLint abended with the error message below shown twice:
After reviewing the discussion in #6259, it looks like the rule was changed to accept numeric values for "outerIIFEBody", but the documentation retains the original approach of using boolean values. So it looks like it's just the documentation that needs updating – the configuration below works just fine:
The text was updated successfully, but these errors were encountered: