From b2a8cf82f9067b729fd1e59e6c66c1b4a1809475 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Fri, 22 Nov 2024 17:30:12 +0100 Subject: [PATCH] Fix linting --- ...m-user-selector.js.es6 => custom-user-selector.js} | 11 ++++++----- .../discourse/components/wizard-mapper-selector.js | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) rename assets/javascripts/discourse/components/{custom-user-selector.js.es6 => custom-user-selector.js} (99%) diff --git a/assets/javascripts/discourse/components/custom-user-selector.js.es6 b/assets/javascripts/discourse/components/custom-user-selector.js similarity index 99% rename from assets/javascripts/discourse/components/custom-user-selector.js.es6 rename to assets/javascripts/discourse/components/custom-user-selector.js index 59711ec2..ca6dfbdb 100644 --- a/assets/javascripts/discourse/components/custom-user-selector.js.es6 +++ b/assets/javascripts/discourse/components/custom-user-selector.js @@ -1,13 +1,14 @@ +import { isEmpty } from "@ember/utils"; +import Handlebars from "handlebars"; +import $ from "jquery"; +import TextField from "discourse/components/text-field"; +import { renderAvatar } from "discourse/helpers/user-avatar"; +import userSearch from "discourse/lib/user-search"; import { default as computed, observes, } from "discourse-common/utils/decorators"; -import { renderAvatar } from "discourse/helpers/user-avatar"; -import userSearch from "discourse/lib/user-search"; import I18n from "I18n"; -import Handlebars from "handlebars"; -import { isEmpty } from "@ember/utils"; -import TextField from "discourse/components/text-field"; const template = function (params) { const options = params.options; diff --git a/assets/javascripts/discourse/components/wizard-mapper-selector.js b/assets/javascripts/discourse/components/wizard-mapper-selector.js index 986b16fa..ce7b085b 100644 --- a/assets/javascripts/discourse/components/wizard-mapper-selector.js +++ b/assets/javascripts/discourse/components/wizard-mapper-selector.js @@ -1,7 +1,7 @@ import { getOwner } from "@ember/application"; import Component from "@ember/component"; import { computed } from "@ember/object"; -import { alias, gt, or, equal } from "@ember/object/computed"; +import { alias, equal, gt, or } from "@ember/object/computed"; import { bind, later } from "@ember/runloop"; import { service } from "@ember/service"; import $ from "jquery";