diff --git a/services/web/.eslintrc b/services/web/.eslintrc index e9d930b375..0d5c9a1f85 100644 --- a/services/web/.eslintrc +++ b/services/web/.eslintrc @@ -78,6 +78,13 @@ // based on mocha's context mechanism "mocha/prefer-arrow-callback": "error" } + }, + { + // don't allow console.log in backend code + "files": ["**/app/*/src/**/*.js"], + "rules": { + "no-console": "error" + } } ] }