Adds no-debugger rule to root eslint config file (#5312)

This commit is contained in:
Sean Hellwig 2024-05-07 03:07:51 -06:00 committed by GitHub
parent ffd804d04b
commit a10290ecee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ module.exports = {
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
'no-console': ['warn', { allow: ['group', 'groupCollapsed', 'groupEnd'] }],
'no-control-regex': 0,
'no-debugger': 'error',
'no-duplicate-imports': 'error',
'no-undef': 'off',
'no-unused-vars': 'off',