Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: no console & no debugger (#15872)

p0ny6857a5d31f8d
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index 089152ce17..5d9a464609 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -18,6 +18,8 @@ export default [
},
{
rules: {
+ "no-console": ["error", { allow: ["warn", "error", "debug", "assert"] }],
+ "no-debugger": "error",
"no-empty-pattern": "error",
"vue/no-ref-as-operand": "error",
"no-useless-escape": "error",
diff --git a/frontend/src/components/EnvironmentForm/EnvironmentForm.vue b/frontend/src/components/EnvironmentForm/EnvironmentForm.vue
index 9f26342626..1b07907a38 100644
--- a/frontend/src/components/EnvironmentForm/EnvironmentForm.vue
+++ b/frontend/src/components/EnvironmentForm/EnvironmentForm.vue
@@ -81,8 +81,6 @@ onBeforeRouteLeave((to, from, next) => {
});
useEmitteryEventListener(events, "create", (params) => {
- console.log(params)
- debugger;
const { rolloutPolicy, environment } = params;
if (environment.tags?.protected === "protected") {
if (!hasFeature("bb.feature.custom-approval")) {