mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-06 23:16:52 +00:00
fix: 关闭对未使用变量的检查
This commit is contained in:
@@ -39,7 +39,7 @@ module.exports = {
|
|||||||
'react/prop-types': 'off',
|
'react/prop-types': 'off',
|
||||||
'space-before-function-paren': 0,
|
'space-before-function-paren': 0,
|
||||||
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
|
'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' // 关闭强制函数返回类型声明
|
'@typescript-eslint/explicit-function-return-type': 'off' // 关闭强制函数返回类型声明
|
||||||
},
|
},
|
||||||
overrides: [
|
overrides: [
|
||||||
|
|||||||
Reference in New Issue
Block a user