From 36d6563e977ee7e30a9c8cd73ad2a452e43516c8 Mon Sep 17 00:00:00 2001 From: mutugiii Date: Wed, 16 Oct 2024 17:24:19 +0300 Subject: [PATCH] Linting rules --- chatapi/.eslintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chatapi/.eslintrc b/chatapi/.eslintrc index 7fbeed6617..9382f25475 100644 --- a/chatapi/.eslintrc +++ b/chatapi/.eslintrc @@ -78,6 +78,7 @@ "@typescript-eslint/semi": ["error", "always"], "@typescript-eslint/triple-slash-reference": "error", "@typescript-eslint/type-annotation-spacing": "error", + "array-bracket-spacing": ["error", "always"], "arrow-body-style": "error", "arrow-parens": ["error", "always"], "camelcase": "off", @@ -90,6 +91,7 @@ "guard-for-in": "error", "id-blacklist": ["error", "any", "number", "string", "boolean", "undefined"], "id-match": "error", + "keyword-spacing": ["error", { "before": true, "after": true }], "max-len": ["error", { "code": 140 }], "new-parens": "error", "no-array-constructor": "error", @@ -135,5 +137,6 @@ "spaced-comment": "error", "use-isnan": "error", "valid-typeof": "error" + } }