Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1246)

Unified Diff: third_party/WebKit/Source/devtools/.eslintrc.js

Issue 2563553002: DevTools: Disallow console.log statements with eslint (Closed)
Patch Set: fix tests Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/.eslintrc.js
diff --git a/third_party/WebKit/Source/devtools/.eslintrc.js b/third_party/WebKit/Source/devtools/.eslintrc.js
index 7eafe914805582b2b5b09dfdbd0c1480dc4ca65a..1e9bf34f6bc8333247c5e7ec6795f3f66d616e55 100644
--- a/third_party/WebKit/Source/devtools/.eslintrc.js
+++ b/third_party/WebKit/Source/devtools/.eslintrc.js
@@ -55,6 +55,7 @@ module.exports = {
"no-shadow-restricted-names": 2,
"no-cond-assign": 2,
"no-debugger": 2,
+ "no-console": [2, { "allow": ["warn", "error", "assert", "timeStamp", "time", "timeEnd"] }],
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
@@ -94,7 +95,6 @@ module.exports = {
"no-trailing-spaces": 2,
"linebreak-style": [ 2, "unix" ],
-
/**
* Disabled, aspirational rules
*/

Powered by Google App Engine
This is Rietveld 408576698