DEV: Update code for eslint object-shorthand-rule. See https://github.com/discourse/eslint-config-discourse/commit/4f7aba06c03fdd22bb26669aeb8ed4af3127c409 (#119)

diff --git a/assets/javascripts/discourse/components/adbutler-ad.js.es6 b/assets/javascripts/discourse/components/adbutler-ad.js.es6
index ab3a0a3..de63aea 100644
--- a/assets/javascripts/discourse/components/adbutler-ad.js.es6
+++ b/assets/javascripts/discourse/components/adbutler-ad.js.es6
@@ -61,10 +61,10 @@ export default AdComponent.extend({
     _c++;
 
     this.divs.push({
-      divId: divId,
-      publisherId: publisherId,
-      zoneId: zoneId,
-      dimensions: dimensions,
+      divId,
+      publisherId,
+      zoneId,
+      dimensions,
     });
 
     this._super();
diff --git a/assets/javascripts/discourse/components/google-dfp-ad.js.es6 b/assets/javascripts/discourse/components/google-dfp-ad.js.es6
index 7fb27d4..0fdff20 100755
--- a/assets/javascripts/discourse/components/google-dfp-ad.js.es6
+++ b/assets/javascripts/discourse/components/google-dfp-ad.js.es6
@@ -182,7 +182,7 @@ function defineSlot(
 
   ad.addService(window.googletag.pubads());
 
-  ads[divId] = { ad: ad, width: width, height: height };
+  ads[divId] = { ad, width, height };
   return ads[divId];
 }
 

GitHub sha: 55045bba3c15a452390633df3e40693fae100d90

This commit appears in #119 which was approved by SamSaffron. It was merged by SamSaffron.