Skip to content

Commit

Permalink
JSHintBear: Correct use of allow_iterator_property
Browse files Browse the repository at this point in the history
  • Loading branch information
AsnelChristian committed Aug 17, 2016
1 parent 33a83e4 commit a85ae5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bears/js/JSHintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def generate_config(filename, file,
allow_typeof: bool=True,
allow_filter_in_forin: bool=True,
allow_funcscope: bool=False,
allow_iterator_property: bool=False,
allow_iterator_property: bool=True,
allow_argument_caller_and_callee: bool=False,
allow_comma_operator: bool=True,
allow_non_breaking_whitespace: bool=False,
Expand Down Expand Up @@ -317,7 +317,7 @@ def generate_config(filename, file,
"notypeof": not allow_typeof,
"forin": allow_filter_in_forin,
"funcscope": allow_funcscope,
"iterator": allow_iterator_property,
"iterator": not allow_iterator_property,
"noarg": not allow_argument_caller_and_callee,
"nocomma": not allow_comma_operator,
"nonbsp": not allow_non_breaking_whitespace,
Expand Down

0 comments on commit a85ae5e

Please sign in to comment.