Skip to content

Saleor Core: the high performance, composable, headless commerce API.

fix some codeclimate issues

Julian Böhnke0e4919886e96
diff --git a/webpack.config.js b/webpack.config.js
index e0e0ca2f21..b5d0b3e127 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -75,14 +75,14 @@ module.exports = (_, argv) => {
{
loader: 'css-loader',
options: {
- 'sourceMap': true
+ sourceMap: true
}
},
{
loader: 'postcss-loader',
options: {
- 'sourceMap': true,
- 'plugins': function () {
+ sourceMap: true,
+ plugins: function() {
return [autoprefixer];
}
}
@@ -90,7 +90,7 @@ module.exports = (_, argv) => {
{
loader: 'sass-loader',
options: {
- 'sourceMap': true
+ sourceMap: true
}
}
]
@@ -112,11 +112,7 @@ module.exports = (_, argv) => {
removeEmptyChunks: false,
splitChunks: false
},
- plugins: [
- bundleTrackerPlugin,
- extractCssPlugin,
- providePlugin
- ],
+ plugins: [bundleTrackerPlugin, extractCssPlugin, providePlugin],
resolve: {
alias: {
jquery: resolve('node_modules/jquery/dist/jquery.js')