From ac5d0ec9ccf0ae3d2c42de353187ca71fa8c39bc Mon Sep 17 00:00:00 2001 From: Chafik H'nini Date: Tue, 27 Aug 2024 09:13:48 +0200 Subject: [PATCH] style: harmonize eslint rules --- .eslintrc.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 40e76b6..ae1528a 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -11,6 +11,7 @@ module.exports = { files: ['*.json'], rules: { 'sort-keys': 'off', + 'unicorn/numeric-separators-style': 'off', }, }, { @@ -43,14 +44,13 @@ module.exports = { 'unicorn', ], rules: { - '@typescript-eslint/explicit-function-return-type': 'error', - '@typescript-eslint/explicit-member-accessibility': 'error', // https://github.com/typescript-eslint/typescript-eslint/issues/2483#issuecomment-687095358 '@typescript-eslint/no-shadow': 'error', '@typescript-eslint/no-unused-vars': [ 'error', { argsIgnorePattern: '^_', + caughtErrors: 'none', varsIgnorePattern: '^_', }, ],