about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-11 17:42:42 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-11 10:42:42 +0200
commit3690f04e4a84fa43c43b39e5e3884a20c9e0efe3 (patch)
treef9b712b8b0ea349aa8260d23fac98e1d293108c5 /config
parentf3e8bc9f8f6007b7bddc230be9c2ec865b5cb75e (diff)
Remove comments for eslint-disable (#3691)
Diffstat (limited to 'config')
-rw-r--r--config/webpack/production.js2
-rw-r--r--config/webpack/shared.js3
-rw-r--r--config/webpack/translationRunner.js2
3 files changed, 0 insertions, 7 deletions
diff --git a/config/webpack/production.js b/config/webpack/production.js
index c93dd55e3..755464061 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -1,7 +1,5 @@
 // Note: You must restart bin/webpack-dev-server for changes to take effect
 
-/* eslint global-require: 0 */
-
 const webpack = require('webpack');
 const merge = require('webpack-merge');
 const CompressionPlugin = require('compression-webpack-plugin');
diff --git a/config/webpack/shared.js b/config/webpack/shared.js
index 0f767fb47..8fd80a00d 100644
--- a/config/webpack/shared.js
+++ b/config/webpack/shared.js
@@ -1,8 +1,5 @@
 // Note: You must restart bin/webpack-dev-server for changes to take effect
 
-/* eslint global-require: 0 */
-/* eslint import/no-dynamic-require: 0 */
-
 const { existsSync } = require('fs');
 const webpack = require('webpack');
 const { basename, dirname, join, relative, resolve, sep } = require('path');
diff --git a/config/webpack/translationRunner.js b/config/webpack/translationRunner.js
index 79bb6980f..097099b48 100644
--- a/config/webpack/translationRunner.js
+++ b/config/webpack/translationRunner.js
@@ -38,7 +38,6 @@ const validateLanguages = (languages, validators) => {
   }, []);
 
   if (invalidLanguages.length > 0) {
-    // eslint-disable-next-line no-console
     console.error(`
 Error: Specified invalid LANGUAGES:
 ${invalidLanguages.map(({ language, error }) => `* ${language}: ${error.message}`).join('\n')}
@@ -73,7 +72,6 @@ ${availableLanguages.join(', ')}
 
 // check if message directory exists
 if (!fs.existsSync(messagesDirectory)) {
-  // eslint-disable-next-line no-console
   console.error(`
 Error: messagesDirectory not exists
 (${messagesDirectory})