diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..2d0c064 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +dist/ +node_modules/ +coverage/ diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 9c762c2..e8e69db 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -14,5 +14,14 @@ module.exports = { plugins: ['react-refresh'], rules: { 'react-refresh/only-export-components': 'warn', + '@typescript-eslint/no-unused-vars': [ + 'error', + { + varsIgnorePattern: '^_', + argsIgnorePattern: '^_', + destructuredArrayIgnorePattern: '^_', + ignoreRestSiblings: true, + }, + ], }, };