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,12 +1,12 @@
import { exists } from "discourse/tests/helpers/qunit-helpers";
import selectKit from "discourse/tests/helpers/select-kit-helper";
import {
acceptance,
updateCurrentUser,
exists,
queryAll,
} from "discourse/tests/helpers/qunit-helpers";
import { displayPollBuilderButton } from "discourse/plugins/poll/helpers/display-poll-builder-button";
import { clearPopupMenuOptionsCallback } from "discourse/controllers/composer";
import { queryAll } from "discourse/tests/helpers/qunit-helpers";
acceptance("Poll Builder - polls are enabled", function (needs) {
needs.user();