Skip to content

Commit

Permalink
JSHintBear: Use use_mozilla_extension
Browse files Browse the repository at this point in the history
Changes ``using_mozilla``->``use_mozilla_extension``.
  • Loading branch information
AsnelChristian committed Aug 14, 2016
1 parent fd16555 commit 90a8fe4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bears/js/JSHintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def generate_config(filename, file,
allow_singleton: bool=False,
allow_this_statements: bool=False,
allow_with_statements: bool=False,
using_mozilla: bool=False,
use_mozilla_extension: bool=False,
allow_noyield: bool=False,
allow_eqnull: bool=False,
allow_last_semicolon: bool=False,
Expand Down Expand Up @@ -179,7 +179,7 @@ def generate_config(filename, file,
:param allow_with_statements:
This option suppresses warnings about the use of the ``with``
statement.
:param using_mozilla:
:param use_mozilla_extension:
This options tells JSHint that your code uses Mozilla JavaScript
extensions.
:param allow_noyield:
Expand Down Expand Up @@ -309,7 +309,7 @@ def generate_config(filename, file,
"supernew": allow_singleton,
"validthis": allow_this_statements,
"withstmt": allow_with_statements,
"moz": using_mozilla,
"moz": use_mozilla_extension,
"noyield": allow_noyield,
"eqnull": allow_eqnull,
"lastsemic": allow_last_semicolon,
Expand Down

0 comments on commit 90a8fe4

Please sign in to comment.