summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json14
2 files changed, 15 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 4a13009..62aafbe 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -257,7 +257,7 @@
- [ ] "semi"
- [ ] "semi-spacing"
- [ ] "semi-style"
-- [ ] "sort-imports"
+- [X] "sort-imports"
- [X] "sort-keys"
- [ ] "sort-vars"
- [ ] "space-before-blocks"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index b15bed4..d512ede 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -91,6 +91,20 @@
"require-jsdoc": [
"off"
],
+ "sort-imports": [
+ "error",
+ {
+ "ignoreCase": false,
+ "ignoreDeclarationSort": false,
+ "ignoreMemberSort": false,
+ "memberSyntaxSortOrder": [
+ "all",
+ "multiple",
+ "single",
+ "none"
+ ]
+ }
+ ],
"sort-keys": [
"warn",
"asc",