mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
(eslint) set restrictive rule with non used variables
This commit is contained in:
parent
c7b44ddcaa
commit
75c3cbafd0
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ rules:
|
|||
no-unreachable: 2
|
||||
|
||||
# useful for code clean-up
|
||||
no-unused-vars: [1, {"vars": "all", "args": "none"}]
|
||||
no-unused-vars: [2, {"vars": "all", "args": "none"}]
|
||||
|
||||
max-len: [1, 160]
|
||||
|
||||
|
@ -82,4 +82,4 @@ rules:
|
|||
one-var: 2
|
||||
|
||||
# console not allowed unless for testing
|
||||
no-console: [2, {"allow": ["log", "warn"]}]
|
||||
no-console: [2, {"allow": ["log", "warn"]}]
|
||||
|
|
Loading…
Reference in a new issue