Skip to content

Commit 270d80f

Browse files
authored
Remove ESLintPlugin from webpack build (#3142)
Removed `ESLintPlugin` execution from the webpack build as discussed at https://community.openhab.org/t/using-eclipse-with-openhab-webui/162923/30. Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
1 parent 64a0bf0 commit 270d80f

3 files changed

Lines changed: 1 addition & 65 deletions

File tree

bundles/org.openhab.ui/web/build/webpack.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
77
const TerserPlugin = require('terser-webpack-plugin')
88
const WorkboxPlugin = require('workbox-webpack-plugin')
99
const WebpackAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
10-
const ESLintPlugin = require('eslint-webpack-plugin');
1110
const CompressionPlugin = require('compression-webpack-plugin')
1211

1312
const path = require('path')
@@ -239,9 +238,7 @@ module.exports = {
239238
}),
240239
new VueLoaderPlugin(),
241240
...(env === 'production' ? [
242-
new ESLintPlugin({
243-
extensions: ['js', 'vue']
244-
})
241+
// Production only plugins
245242
] : [
246243
// Development only plugins
247244
]),

bundles/org.openhab.ui/web/package-lock.json

Lines changed: 0 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/org.openhab.ui/web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140
"eslint-plugin-import": "^2.29.1",
141141
"eslint-plugin-node": "^11.1.0",
142142
"eslint-plugin-vue": "^9.27.0",
143-
"eslint-webpack-plugin": "^4.2.0",
144143
"global-prefix": "^3.0.0",
145144
"html-webpack-plugin": "^5.6.0",
146145
"jest": "^29.7.0",

0 commit comments

Comments
 (0)