Replaced eslint-loader with eslint-webpack-plugin.

This commit is contained in:
DebaucheryLibrarian 2021-02-23 02:08:10 +01:00
parent 29765f488b
commit 39d8b0a17f
3 changed files with 1226 additions and 1255 deletions

2474
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -49,15 +49,15 @@
"babel-loader": "^8.0.6",
"babel-preset-airbnb": "^3.3.2",
"css-loader": "^5.0.1",
"eslint": "^5.16.0",
"eslint": "^7.20.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-loader": "^2.2.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-vue": "^6.2.1",
"eslint-watch": "^4.0.2",
"eslint-webpack-plugin": "^2.5.2",
"mini-css-extract-plugin": "^1.3.3",
"node-sass": "^4.13.1",
"postcss-loader": "^3.0.0",

View File

@ -3,6 +3,7 @@ const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const autoprefixer = require('autoprefixer');
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = {
entry: './assets/js/main.js',
@ -35,7 +36,6 @@ module.exports = {
],
},
},
'eslint-loader',
],
},
{
@ -67,6 +67,7 @@ module.exports = {
},
plugins: [
new VueLoaderPlugin(),
new ESLintPlugin(),
new MiniCssExtractPlugin({
filename: '../css/style.css',
}),