Skip to content

A platform for community discussion. Free, open, simple.

DEV: fix linting

Daniel Waterworth3b5c214ac315
diff --git a/app/assets/javascripts/discourse/components/plugin-connector.js.es6 b/app/assets/javascripts/discourse/components/plugin-connector.js.es6
index 393704974b9..6f6bbe825f8 100644
--- a/app/assets/javascripts/discourse/components/plugin-connector.js.es6
+++ b/app/assets/javascripts/discourse/components/plugin-connector.js.es6
@@ -25,7 +25,9 @@ export default Component.extend({
this,
key,
computed("deprecatedArgs", () => {
- deprecated(`The ${key} property is deprecated, but is being used in ${this.layoutName}`);
+ deprecated(
+ `The ${key} property is deprecated, but is being used in ${this.layoutName}`
+ );
return (this.deprecatedArgs || {})[key];
})
diff --git a/app/assets/javascripts/discourse/components/plugin-outlet.js.es6 b/app/assets/javascripts/discourse/components/plugin-outlet.js.es6
index 6cda10ce7cc..f5dc399b2f7 100644
--- a/app/assets/javascripts/discourse/components/plugin-outlet.js.es6
+++ b/app/assets/javascripts/discourse/components/plugin-outlet.js.es6
@@ -30,7 +30,10 @@ import Component from "@ember/component";
The list of disabled plugins is returned via the `Site` singleton.
**/
-import { renderedConnectorsFor, buildArgsWithDeprecations } from "discourse/lib/plugin-connectors";
+import {
+ renderedConnectorsFor,
+ buildArgsWithDeprecations
+} from "discourse/lib/plugin-connectors";
export default Component.extend({
tagName: "span",
@@ -46,7 +49,10 @@ export default Component.extend({
this._super(...arguments);
const name = this.name;
if (name) {
- const args = buildArgsWithDeprecations(this.args || {}, this.deprecatedArgs || {});
+ const args = buildArgsWithDeprecations(
+ this.args || {},
+ this.deprecatedArgs || {}
+ );
this.set("connectors", renderedConnectorsFor(name, args, this));
}
}