0
Fork 0
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:
Juan Picado @jotadeveloper 2017-06-06 23:09:31 +02:00
parent c7b44ddcaa
commit 75c3cbafd0
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -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"]}]