diff options
author | Pawel Wolak <pawelwolakk@gmail.com> | 2019-10-25 12:25:30 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-10-25 12:25:30 +0300 |
commit | b3dfcdc7ed066469074e96d9ca80b0684d185d82 (patch) | |
tree | 1dc3173f9950b550be855d4d56d16982556d3d40 | |
parent | 9f4e72d8c12497aa8817e0a506fb0a5bf36f916a (diff) |
Enable eslint no-console rule except for build directory (#29585)
-rw-r--r-- | .eslintrc.json | 1 | ||||
-rw-r--r-- | build/.eslintrc.json | 5 |
2 files changed, 5 insertions, 1 deletions
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" + } } |