From 7359df7c7719dd93149ef0b329a0a18c10715c20 Mon Sep 17 00:00:00 2001 From: Julen Ruiz Aizpuru Date: Wed, 13 Jul 2016 13:14:20 +0200 Subject: [PATCH] Editor: silence ESLint warning on console usage This one is being used legitimately on purpose. --- pootle/static/js/editor/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pootle/static/js/editor/app.js b/pootle/static/js/editor/app.js index ccd685e59bd..d7c6783704a 100644 --- a/pootle/static/js/editor/app.js +++ b/pootle/static/js/editor/app.js @@ -2223,6 +2223,7 @@ PTL.editor = { fetch({ url: tmUrl, crossDomain: true }) .then( (data) => this.handleTmResults(data, store, unit), + // eslint-disable-next-line no-console (xhr, s) => console.error(`HTTP ${xhr.status} (${s}): ${tmUrl}`) ); },