добавлен скрипт линтера, ошибки вываливаются в консоль при разработке

This commit is contained in:
vigdorov
2020-07-09 12:29:46 +03:00
parent 358f8d5806
commit 332afad7b1
3 changed files with 155 additions and 3 deletions

View File

@ -36,7 +36,10 @@ module.exports = {
{
test: /\.js$/,
exclude: /node_modules/,
loader: "babel-loader"
use: [
'babel-loader',
'eslint-loader'
]
},
{
test: /\.(gif|png|jpe?g|svg)$/i,