mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
make unused variables a warning in eslint (#8832)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
88869bafb6
commit
740c9160fd
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module.exports = {
|
|||
// These off/configured-differently-by-default rules fit well for us
|
||||
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
'warn',
|
||||
{ argsIgnorePattern: '^_', ignoreRestSiblings: true },
|
||||
],
|
||||
'no-only-tests/no-only-tests': 'error',
|
||||
|
|
Loading…
Reference in a new issue