DEV: Tidy up imports. (#11364)

Only allow one import definition per file and add a new eslint rule to enforce it.
This commit is contained in:
Roman Rizzi
2020-11-27 11:30:16 -03:00
committed by GitHub
parent 2e5e4dbf19
commit 1c2358ba16
178 changed files with 394 additions and 408 deletions

View File

@ -1,10 +1,9 @@
import I18n from "I18n";
import discourseComputed from "discourse-common/utils/decorators";
import Controller from "@ember/controller";
import Controller, { inject as controller } from "@ember/controller";
import { popupAjaxError } from "discourse/lib/ajax-error";
import { bufferedProperty } from "discourse/mixins/buffered-content";
import { action } from "@ember/object";
import { inject as controller } from "@ember/controller";
import bootbox from "bootbox";
export default Controller.extend(bufferedProperty("emailTemplate"), {