aboutsummaryrefslogtreecommitdiff
path: root/src/rules/eslint.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:06:46 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:06:46 +0300
commit0e39bae754d08070a88064579a2ecea33e38a655 (patch)
tree84d52f1c8dcca82b5df569a2401211b6c005655c /src/rules/eslint.json
parentfe5de6953aa1e072055058f8a8a8b9b95c924b1b (diff)
downloadeslint-config-0e39bae754d08070a88064579a2ecea33e38a655.tar.xz
eslint-config-0e39bae754d08070a88064579a2ecea33e38a655.zip
feat(eslint): Rule "sort-keys"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/eslint.json')
-rw-r--r--src/rules/eslint.json9
1 files changed, 9 insertions, 0 deletions
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"
]