mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1249627 - Eslint: allow unused arguments; r=pbrosset
MozReview-Commit-ID: AjNppE9zLWL
This commit is contained in:
parent
ca6cddf7e2
commit
4bfab29401
@ -265,8 +265,8 @@
|
||||
// Disallow unreachable statements after a return, throw, continue, or break
|
||||
// statement.
|
||||
"no-unreachable": 2,
|
||||
// Disallow declaration of variables that are not used in the code
|
||||
"no-unused-vars": 2,
|
||||
// Disallow global and local variables that aren't used, but allow unused function arguments.
|
||||
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
|
||||
// Allow using variables before they are defined.
|
||||
"no-use-before-define": 0,
|
||||
// We use var-only-at-top-level instead of no-var as we allow top level
|
||||
|
Loading…
Reference in New Issue
Block a user