From a22c00fcefa10a99505c05393106fb3a655de243 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sun, 1 Jun 2025 04:40:09 +0200 Subject: Add register with validation --- eslint.config.mjs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'eslint.config.mjs') diff --git a/eslint.config.mjs b/eslint.config.mjs index df125dd..d369510 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -33,7 +33,17 @@ export default [ }, rules: { - 'no-mixed-spaces-and-tabs': 'off' + 'no-mixed-spaces-and-tabs': 'off', + 'no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_', + destructuredArrayIgnorePattern: '^_', + varsIgnorePattern: '^_', + reportUsedIgnorePattern: true + } + ] } } ]; -- cgit 1.5.1