From d53a0a9779e768d41278f85c44e73290d42f3c96 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 7 Mar 2015 12:48:46 +0100 Subject: [PATCH] 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. --- spec/.eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/.eslintrc b/spec/.eslintrc index 32b81cc5..e3a29ac7 100644 --- a/spec/.eslintrc +++ b/spec/.eslintrc @@ -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,