From 443af8609fc463eede6d2c5d8398a239445fb87c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 16:46:47 +0400 Subject: feat(eslint): Rule "id-length" Signed-off-by: Valentin Popov --- src/rules/eslint.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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", -- cgit v1.2.3