From 0e39bae754d08070a88064579a2ecea33e38a655 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:06:46 +0400 Subject: feat(eslint): Rule "sort-keys" Signed-off-by: Valentin Popov --- src/rules/eslint.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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" ] -- cgit v1.2.3