From 955ec7f24023fa116efd5f443982d2fde045d075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Fri, 4 Nov 2022 15:10:26 +0100 Subject: [PATCH] Add more eslint rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- .eslintrc.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 3bb27de30..7a8475da1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -99,6 +99,12 @@ } } ], + "@typescript-eslint/member-ordering": [ + "error", + { "default": ["field", "signature", "constructor", "method"] } + ], + + "@typescript-eslint/no-invalid-void-type": ["error"], // Disallow Unused Variables. // https://eslint.org/docs/rules/no-unused-vars "@typescript-eslint/no-unused-vars": [