Niedzielski has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/387238 )

Change subject: Chore: reduce console usage to a warning
......................................................................

Chore: reduce console usage to a warning

Reduce the severity of ESLint `no-console` rule violations from error to
warning. This is a very often violated rule during development so it's
worth special-casing as harmless. Note: a rule violation of any severity
is not permitted to be committed by Marvin's ESLint tests.

Change-Id: I4eb96de244198a19386b4fb57072f402e78959d4
---
M .eslintrc.json
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/marvin refs/changes/38/387238/1

diff --git a/.eslintrc.json b/.eslintrc.json
index 0b7e2f4..74dbbf0 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -22,8 +22,9 @@
         "ignorePattern": "^/// .+|// (?!eslint-.+max-len)eslint-.+"
       }
     ],
+    "no-console": "warn",
     "sort-imports": "off",
-    "import/order": ["warn"]
+    "import/order": "warn"
   },
   "parser": "typescript-eslint-parser",
   "parserOptions": {

-- 
To view, visit https://gerrit.wikimedia.org/r/387238
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4eb96de244198a19386b4fb57072f402e78959d4
Gerrit-PatchSet: 1
Gerrit-Project: marvin
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org>
Gerrit-Reviewer: Sniedzielski <sniedziel...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to