ignore underscores

This commit is contained in:
Benjamin Palko 2024-12-19 22:14:03 -05:00
parent 6ddaa69f69
commit 1e43b36fe6

View file

@ -30,5 +30,17 @@ export default ts.config(
parser: ts.parser, parser: ts.parser,
}, },
}, },
},
{
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
},
} }
); );