From 6c98846e12945b67aa5e414c480f567fb2760575 Mon Sep 17 00:00:00 2001 From: "S. MohammadMahdi Zamanian" Date: Thu, 10 Oct 2024 15:53:35 +0330 Subject: [PATCH] feat(eslint): config --- .eslintrc.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 04b5104..325537a 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -43,12 +43,36 @@ rules: - capIsNewExceptionPattern: Mixin$ brace-style: - error - - stroustrup + - 1tbs - allowSingleLine: true '@typescript-eslint/consistent-type-imports': - error - fixStyle: separate-type-imports prefer: type-imports + curly: + - error + - multi-or-nest + for-direction: error + no-class-assign: error + no-await-in-loop: error + no-compare-neg-zero: error + no-const-assign: error + no-constant-condition: error + no-constant-binary-expression: error + complexity: error + capitalized-comments: error + default-case-last: error + dot-notation: + - warn + no-console: + - warn + arrow-body-style: + - error + - as-needed + eqeqeq: + - error + - always + - 'null': ignore indent: - error - 2