about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorBèr Kessels <ber@berk.es>2020-03-08 16:02:36 +0100
committerGitHub <noreply@github.com>2020-03-08 16:02:36 +0100
commitfd76955f3942bbd7ec830ab535bc31621cac14a4 (patch)
tree49e503f1354a9cbd2f88c03db8c292aa30bac305 /config
parent4e524218d3086e4f930e2005f1ce2d82f29e1a20 (diff)
Code style improvements in JavaScript (#13159)
* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.
Diffstat (limited to 'config')
-rw-r--r--config/webpack/development.js2
-rw-r--r--config/webpack/shared.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/webpack/development.js b/config/webpack/development.js
index 56f6e43f0..774ecbc07 100644
--- a/config/webpack/development.js
+++ b/config/webpack/development.js
@@ -54,7 +54,7 @@ module.exports = merge(sharedConfig, {
     watchOptions: Object.assign(
       {},
       settings.dev_server.watch_options,
-      watchOptions
+      watchOptions,
     ),
     writeToDisk: filePath => /ocr/.test(filePath),
   },
diff --git a/config/webpack/shared.js b/config/webpack/shared.js
index d5e399ced..81c02acd4 100644
--- a/config/webpack/shared.js
+++ b/config/webpack/shared.js
@@ -31,7 +31,7 @@ module.exports = {
     Object.keys(themes).reduce((themePaths, name) => {
       themePaths[name] = resolve(join(settings.source_path, themes[name]));
       return themePaths;
-    }, {})
+    }, {}),
   ),
 
   output: {
@@ -73,7 +73,7 @@ module.exports = {
         // temporary fix for https://github.com/ReactTraining/react-router/issues/5576
         // to reduce bundle size
         resource.request = resource.request.replace(/^history/, 'history/es');
-      }
+      },
     ),
     new MiniCssExtractPlugin({
       filename: 'css/[name]-[contenthash:8].css',