Skip to content

The open alternative to Salesforce, designed for AI.

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

Sean Hellwiga10290ecee68
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index ec15ce6830b..030209c47de 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -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',