Allow to use console in tests

This prevents us from adding /* eslint no-console: 0 */ each time
we need to use console.log/trace for debugging.

This also means that we will not be blocked if we forget a console
in the tests before commiting, but this should also happen while using
the inline "no-console" config, and given that this only affects tests
files, I think the confort of being able to use console easily worths
the risk of pushing a console in the tests files.
This commit is contained in:
Yohan Boniface 2015-03-07 12:48:46 +01:00
parent bba39b3eba
commit d53a0a9779

View File

@ -17,7 +17,8 @@
"strict": 0,
"key-spacing": 0,
"no-shadow": 0,
"no-irregular-whitespace": 0
"no-irregular-whitespace": 0,
"no-console": 0
},
"globals": {
"L": true,