Skip to content

Commit 02af260

Browse files
committed
chore: eslint ignoreRestSiblings
1 parent 4df39f9 commit 02af260

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
},
1515
rules: {
1616
'prettier/prettier': ['error', { semi: true, singleQuote: true, printWidth: 120 }],
17+
'@typescript-eslint/no-unused-vars': ['error', { "ignoreRestSiblings": true }],
1718
// 临时关掉
1819
'@typescript-eslint/no-explicit-any': 'off',
1920
},

0 commit comments

Comments
 (0)