mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: Update eslint rule for unused variables
This commit is contained in:
1 parent
4efd670ed6
commit
df140c64f8
1 file changed
+1
-1
+1
-1
@@ -51,7 +51,7 @@ module.exports = {
|
|||||||
'@typescript-eslint/no-unused-vars': [
|
'@typescript-eslint/no-unused-vars': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
args: 'all',
|
args: 'after-used',
|
||||||
argsIgnorePattern: '^_',
|
argsIgnorePattern: '^_',
|
||||||
caughtErrors: 'all',
|
caughtErrors: 'all',
|
||||||
caughtErrorsIgnorePattern: '^_',
|
caughtErrorsIgnorePattern: '^_',
|
||||||
|
|||||||
Reference in new issue
Block a user