summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:46:47 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:46:47 +0300
commit443af8609fc463eede6d2c5d8398a239445fb87c (patch)
tree730c669fe5aa6dca50dac7270636e11669022d61 /src
parent2529229c18cc9ef46f77759d92bf54639339735d (diff)
downloadeslint-config-443af8609fc463eede6d2c5d8398a239445fb87c.tar.xz
eslint-config-443af8609fc463eede6d2c5d8398a239445fb87c.zip
feat(eslint): Rule "id-length"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json8
1 files changed, 8 insertions, 0 deletions
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",