aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json8
2 files changed, 9 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 1ddf364..a3b33df 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -47,7 +47,7 @@
- [ ] "guard-for-in"
- [ ] "handle-callback-err"
- [ ] "id-blacklist"
-- [ ] "id-length"
+- [X] "id-length"
- [ ] "id-match"
- [ ] "implicit-arrow-linebreak"
- [X] "indent"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index caa810f..8661d4d 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -29,6 +29,14 @@
"error",
"always"
],
+ "id-length": [
+ "warn",
+ {
+ "max": 32,
+ "min": 2,
+ "properties": "always"
+ }
+ ],
"indent": [
"error",
"tab",