From a87f92d2c5d6665552d92346be62a52748b9840e Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Tue, 1 Oct 2024 16:55:55 +0200 Subject: [PATCH] feat: added ignores and turn off `style/max-statements-per-line` rule --- src/rules/base.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/rules/base.ts b/src/rules/base.ts index 91942d5..b6f9fdc 100644 --- a/src/rules/base.ts +++ b/src/rules/base.ts @@ -1,14 +1,21 @@ const baseConfig = [ - // General Rules { name: 'tres:general', + ignores: [ + '**/dist/**', + 'sponsorkit/**', + 'node_modules/**', + 'coverage/**', + '**/public/**' + ], rules: { 'curly': ['error', 'all'], 'style/function-call-spacing': ['error', 'never'], 'node/prefer-global/process': 'off', 'antfu/top-level-function': 'off', 'perfectionist/sort-imports': 'off', + 'style/max-statements-per-line': 'off', }, },