DEV: Update to new prettier standards

DEV: Update to new prettier standards

diff --git a/.gitignore b/.gitignore
index 51d1080..35d7586 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,6 @@ gems
 log
 .byebug_history
 /.idea
+node_modules/
+.bundle/
+auto_generated
diff --git a/assets/javascripts/discourse/components/ds-button.js.es6 b/assets/javascripts/discourse/components/ds-button.js.es6
index 581c6f8..cf27b9e 100644
--- a/assets/javascripts/discourse/components/ds-button.js.es6
+++ b/assets/javascripts/discourse/components/ds-button.js.es6
@@ -8,5 +8,5 @@ export default Button.extend({
     this.classNameBindings = this.classNameBindings.concat(
       "selected:btn-primary"
     );
-  }
+  },
 });
diff --git a/assets/javascripts/discourse/components/payment-options.js.es6 b/assets/javascripts/discourse/components/payment-options.js.es6
index bae36d2..b39beb3 100644
--- a/assets/javascripts/discourse/components/payment-options.js.es6
+++ b/assets/javascripts/discourse/components/payment-options.js.es6
@@ -10,6 +10,6 @@ export default Component.extend({
   actions: {
     clickPlan(plan) {
       this.set("selectedPlan", plan.id);
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/components/payment-plan.js.es6 b/assets/javascripts/discourse/components/payment-plan.js.es6
index efb9a16..5122de4 100644
--- a/assets/javascripts/discourse/components/payment-plan.js.es6
+++ b/assets/javascripts/discourse/components/payment-plan.js.es6
@@ -18,6 +18,6 @@ export default Component.extend({
     planClick() {
       this.clickPlan(this.plan);
       return false;
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/components/product-list.js.es6 b/assets/javascripts/discourse/components/product-list.js.es6
index bcf1d9d..ac84099 100644
--- a/assets/javascripts/discourse/components/product-list.js.es6
+++ b/assets/javascripts/discourse/components/product-list.js.es6
@@ -13,5 +13,5 @@ export default Component.extend({
   @discourseComputed()
   isLoggedIn() {
     return User.current();
-  }
+  },
 });
diff --git a/assets/javascripts/discourse/components/subscribe-card.js.es6 b/assets/javascripts/discourse/components/subscribe-card.js.es6
index 8e85d63..7b98896 100644
--- a/assets/javascripts/discourse/components/subscribe-card.js.es6
+++ b/assets/javascripts/discourse/components/subscribe-card.js.es6
@@ -5,5 +5,5 @@ export default Component.extend({
     this._super(...arguments);
     this.cardElement.mount("#card-element");
   },
-  didDestroyElement() {}
+  didDestroyElement() {},
 });
diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js.es6
index 4a3781b..e6c42af 100644
--- a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js.es6
+++ b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-dashboard.js.es6
@@ -14,6 +14,6 @@ export default Controller.extend({
       }
 
       this.set("order", order);
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js.es6
index ec7d927..8af0d44 100644
--- a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js.es6
+++ b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-index.js.es6
@@ -7,6 +7,6 @@ export default Controller.extend({
       return DiscourseURL.redirectTo(
         `/admin/plugins/discourse-subscriptions/plans/${id}`
       );
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js.es6
index e8eebb6..e77cbc0 100644
--- a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js.es6
+++ b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-plans-show.js.es6
@@ -15,6 +15,6 @@ export default Controller.extend({
           this.transitionToRoute("adminPlugins.discourse-subscriptions.plans");
         })
         .catch(popupAjaxError);
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6
index c8c8b28..14a26a2 100644
--- a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6
+++ b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6
@@ -19,7 +19,7 @@ export default Controller.extend({
       { id: "GBP", name: "GBP" },
       { id: "USD", name: "USD" },
       { id: "INR", name: "INR" },
-      { id: "BRL", name: "BRL" }
+      { id: "BRL", name: "BRL" },
     ];
   },
 
@@ -29,7 +29,7 @@ export default Controller.extend({
       { id: "day", name: "day" },
       { id: "week", name: "week" },
       { id: "month", name: "month" },
-      { id: "year", name: "year" }
+      { id: "year", name: "year" },
     ];
   },
 
@@ -60,14 +60,14 @@ export default Controller.extend({
       // TODO: set default group name beforehand
       if (this.get("model.plan.metadata.group_name") === undefined) {
         this.set("model.plan.metadata", {
-          group_name: this.get("model.groups.firstObject.name")
+          group_name: this.get("model.groups.firstObject.name"),
         });
       }
 
       this.get("model.plan")
         .save()
         .then(() => this.redirect(this.productId))
-        .catch(data =>
+        .catch((data) =>
           bootbox.alert(data.jqXHR.responseJSON.errors.join("\n"))
         );
     },
@@ -76,9 +76,9 @@ export default Controller.extend({
       this.get("model.plan")
         .update()
         .then(() => this.redirect(this.productId))
-        .catch(data =>
+        .catch((data) =>
           bootbox.alert(data.jqXHR.responseJSON.errors.join("\n"))
         );
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js.es6
index 4dd3397..b55683b 100644
--- a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js.es6
+++ b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show.js.es6
@@ -10,7 +10,7 @@ export default Controller.extend({
     createProduct() {
       this.get("model.product")
         .save()
-        .then(product => {
+        .then((product) => {
           this.transitionToRoute(
             "adminPlugins.discourse-subscriptions.products.show",
             product.id
@@ -28,6 +28,6 @@ export default Controller.extend({
           );
         })
         .catch(popupAjaxError);
-    }
-  }
+    },
+  },
 });
diff --git a/assets/javascripts/discourse/controllers/s-show.js.es6 b/assets/javascripts/discourse/controllers/s-show.js.es6
index 7abbf0e..b5be2b6 100644
--- a/assets/javascripts/discourse/controllers/s-show.js.es6
+++ b/assets/javascripts/discourse/controllers/s-show.js.es6
@@ -23,16 +23,16 @@ export default Controller.extend({
   },
 
   createSubscription(plan) {
-    return this.stripe.createToken(this.get("cardElement")).then(result => {
+    return this.stripe.createToken(this.get("cardElement")).then((result) => {
       if (result.error) {
         return result;
       } else {
         const customer = Customer.create({ source: result.token.id });
 
-        return customer.save().then(c => {
+        return customer.save().then((c) => {

[... diff too long, it was truncated ...]

GitHub sha: 7e753d45