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,9 +1,11 @@
import { queryAll } from "discourse/tests/helpers/qunit-helpers";
import { exists } from "discourse/tests/helpers/qunit-helpers";
import {
queryAll,
exists,
acceptance,
} from "discourse/tests/helpers/qunit-helpers";
import { visit } from "@ember/test-helpers";
import { test } from "qunit";
import I18n from "I18n";
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
acceptance("Personal Message", function (needs) {
needs.user();