mirror of https://github.com/zulip/zulip.git
eslint: Enable sort-imports for member sorting.
This sorts the members imported within each individual declaration; we use import/order for sorting multiple declarations. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
c40dfaa616
commit
6dc783e562
|
@ -87,6 +87,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"radix": "error",
|
"radix": "error",
|
||||||
|
"sort-imports": ["error", {"ignoreDeclarationSort": true}],
|
||||||
"spaced-comment": ["error", "always", {"markers": ["/"]}],
|
"spaced-comment": ["error", "always", {"markers": ["/"]}],
|
||||||
"strict": "error",
|
"strict": "error",
|
||||||
"unicorn/consistent-function-scoping": "off",
|
"unicorn/consistent-function-scoping": "off",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import ClipboardJS from "clipboard";
|
import ClipboardJS from "clipboard";
|
||||||
import {parseISO, formatISO, add, set} from "date-fns";
|
import {add, formatISO, parseISO, set} from "date-fns";
|
||||||
import ConfirmDatePlugin from "flatpickr/dist/plugins/confirmDate/confirmDate";
|
import ConfirmDatePlugin from "flatpickr/dist/plugins/confirmDate/confirmDate";
|
||||||
import $ from "jquery";
|
import $ from "jquery";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import ClipboardJS from "clipboard";
|
import ClipboardJS from "clipboard";
|
||||||
import {parseISO, isValid} from "date-fns";
|
import {isValid, parseISO} from "date-fns";
|
||||||
import $ from "jquery";
|
import $ from "jquery";
|
||||||
|
|
||||||
import copy_code_button from "../templates/copy_code_button.hbs";
|
import copy_code_button from "../templates/copy_code_button.hbs";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {
|
import {
|
||||||
differenceInMinutes,
|
|
||||||
differenceInCalendarDays,
|
differenceInCalendarDays,
|
||||||
|
differenceInMinutes,
|
||||||
format,
|
format,
|
||||||
formatISO,
|
formatISO,
|
||||||
isEqual,
|
isEqual,
|
||||||
|
|
Loading…
Reference in New Issue