From: Pawel Wolak Date: Fri, 25 Oct 2019 09:25:30 +0000 (+0200) Subject: Enable eslint no-console rule except for build directory (#29585) X-Git-Tag: v5.0.0-alpha1~701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3dfcdc7ed066469074e96d9ca80b0684d185d82;p=thirdparty%2Fbootstrap.git Enable eslint no-console rule except for build directory (#29585) --- diff --git a/.eslintrc.json b/.eslintrc.json index 0f5a079194..2d4d6b16c1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,6 +28,7 @@ "always-multiline" ], "new-cap": "off", + "no-console": "error", "object-curly-spacing": [ "error", "always" diff --git a/build/.eslintrc.json b/build/.eslintrc.json index 8709a8b5b5..08169ca4cc 100644 --- a/build/.eslintrc.json +++ b/build/.eslintrc.json @@ -6,5 +6,8 @@ "parserOptions": { "sourceType": "script" }, - "extends": "../.eslintrc.json" + "extends": "../.eslintrc.json", + "rules": { + "no-console": "off" + } }