Update .eslintrc.js

This commit is contained in:
Etherrreal
2022-12-29 11:08:20 +08:00
committed by GitHub
parent a5f2da84dc
commit dd3860633d

View File

@@ -28,7 +28,7 @@ module.exports = {
rules: {
'react/prop-types': 'off',
'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
'no-unused-vars': "off"
},
globals: {