aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json9
2 files changed, 10 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index fe03ecc..6f78e6d 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -258,7 +258,7 @@
- [ ] "semi-spacing"
- [ ] "semi-style"
- [ ] "sort-imports"
-- [ ] "sort-keys"
+- [X] "sort-keys"
- [ ] "sort-vars"
- [ ] "space-before-blocks"
- [ ] "space-before-function-paren"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 20f946f..de8c64a 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -66,6 +66,15 @@
"require-jsdoc": [
"off"
],
+ "sort-keys": [
+ "warn",
+ "asc",
+ {
+ "caseSensitive": true,
+ "minKeys": 2,
+ "natural": true
+ }
+ ],
"valid-jsdoc": [
"off"
]