Remove comments for eslint-disable (#3691)
This commit is contained in:
parent
f3e8bc9f8f
commit
3690f04e4a
8 changed files with 11 additions and 13 deletions
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue