mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 15:09:13 +00:00
fix: 关闭对未使用变量的检查
This commit is contained in:
@@ -39,7 +39,7 @@ module.exports = {
|
||||
'react/prop-types': 'off',
|
||||
'space-before-function-paren': 0,
|
||||
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
|
||||
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], // 确保未使用的变量报错
|
||||
'@typescript-eslint/no-unused-vars': 'off', // 关闭未使用的变量报错
|
||||
'@typescript-eslint/explicit-function-return-type': 'off' // 关闭强制函数返回类型声明
|
||||
},
|
||||
overrides: [
|
||||
|
||||
Reference in New Issue
Block a user