Skip to content

Commit

Permalink
DEV: Apply eslint --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Nov 7, 2023
1 parent f6d8d4e commit 69bb8a1
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/discourse/components/ad-component.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Component from "@ember/component";
import { inject as service } from "@ember/service";
import { alias, or } from "@ember/object/computed";
import { inject as service } from "@ember/service";
import discourseComputed from "discourse-common/utils/decorators";
import {
isNthPost,
Expand Down
4 changes: 2 additions & 2 deletions assets/javascripts/discourse/components/ad-slot.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import EmberObject from "@ember/object";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import { isBlank } from "@ember/utils";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import {
isNthPost,
isNthTopicListItem,
Expand Down
8 changes: 4 additions & 4 deletions assets/javascripts/discourse/components/adbutler-ad.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import loadScript from "discourse/lib/load-script";
import RSVP from "rsvp";
import { scheduleOnce } from "@ember/runloop";
import RSVP from "rsvp";
import loadScript from "discourse/lib/load-script";
import { isTesting } from "discourse-common/config/environment";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";

let _loaded = false,
_promise = null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed from "discourse-common/utils/decorators";
import { and } from "@ember/object/computed";
import { htmlSafe } from "@ember/template";
import discourseComputed from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";

export default AdComponent.extend({
classNames: ["amazon-product-links"],
Expand Down
4 changes: 2 additions & 2 deletions assets/javascripts/discourse/components/carbonads-ad.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed from "discourse-common/utils/decorators";
import { htmlSafe } from "@ember/template";
import discourseComputed from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";

export default AdComponent.extend({
serve_id: null,
Expand Down
10 changes: 5 additions & 5 deletions assets/javascripts/discourse/components/google-adsense.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import loadScript from "discourse/lib/load-script";
import RSVP from "rsvp";
import { scheduleOnce } from "@ember/runloop";
import { isTesting } from "discourse-common/config/environment";
import { htmlSafe } from "@ember/template";
import RSVP from "rsvp";
import loadScript from "discourse/lib/load-script";
import { isTesting } from "discourse-common/config/environment";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";

let _loaded = false,
_promise = null,
Expand Down
8 changes: 4 additions & 4 deletions assets/javascripts/discourse/components/google-dfp-ad.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed, { on } from "discourse-common/utils/decorators";
import loadScript from "discourse/lib/load-script";
import { alias } from "@ember/object/computed";
import { htmlSafe } from "@ember/template";
import RSVP from "rsvp";
import loadScript from "discourse/lib/load-script";
import { isTesting } from "discourse-common/config/environment";
import { htmlSafe } from "@ember/template";
import discourseComputed, { on } from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";

let _loaded = false,
_promise = null,
Expand Down
4 changes: 2 additions & 2 deletions assets/javascripts/discourse/components/house-ad.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import { isBlank } from "@ember/utils";
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import AdComponent from "discourse/plugins/discourse-adplugin/discourse/components/ad-component";

const adIndex = {
topic_list_top: null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import MultiSelectComponent from "select-kit/components/multi-select";
import Ember from "ember";
import MultiSelectComponent from "select-kit/components/multi-select";
const { makeArray } = Ember;
import { computed } from "@ember/object";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import HouseAdsSetting from "discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting";
import { mapBy } from "@ember/object/computed";
import HouseAdsSetting from "discourse/plugins/discourse-adplugin/discourse/components/house-ads-setting";

export default HouseAdsSetting.extend({
classNames: "house-ads-setting house-ads-list-setting",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import I18n from "I18n";
import Controller, { inject as controller } from "@ember/controller";
import { not, or } from "@ember/object/computed";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { propertyNotEqual } from "discourse/lib/computed";
import { bufferedProperty } from "discourse/mixins/buffered-content";
import Controller, { inject as controller } from "@ember/controller";
import { not, or } from "@ember/object/computed";
import I18n from "I18n";

export default Controller.extend(bufferedProperty("model"), {
adminPluginsHouseAds: controller("adminPlugins.houseAds"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DiscourseRoute from "discourse/routes/discourse";
import { action } from "@ember/object";
import DiscourseRoute from "discourse/routes/discourse";

export default DiscourseRoute.extend({
@action
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DiscourseRoute from "discourse/routes/discourse";
import EmberObject from "@ember/object";
import DiscourseRoute from "discourse/routes/discourse";
import I18n from "I18n";

export default DiscourseRoute.extend({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import EmberObject from "@ember/object";
import { ajax } from "discourse/lib/ajax";
import DiscourseRoute from "discourse/routes/discourse";
import EmberObject from "@ember/object";

export default DiscourseRoute.extend({
settings: null,
Expand Down

0 comments on commit 69bb8a1

Please sign in to comment.