High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: make golangci-lint a critical requirement
Dataf94512eee2b2
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.mdindex 1ddceb85..9b710b42 100644--- a/DEVELOPMENT.md+++ b/DEVELOPMENT.md@@ -4,7 +4,7 @@- **Go 1.25+**- **Git**-- **golangci-lint** (optional, for local linting)+- **golangci-lint** (required for pre-commit hooks)## Quick Start@@ -56,13 +56,13 @@ Check your development environment anytime:This checks:- ✅ Go version (critical: 1.25+)-- ⚠️ golangci-lint (recommended)+- ✅ golangci-lint (critical: required for pre-commit)- ⚠️ Git hooks installed- ⚠️ Node.js / Bun (for dashboard development)-### 4. (Optional) Install golangci-lint+### 4. Install golangci-lint (required)-For local linting (recommended):+Required for pre-commit hooks:```bash# macOS/Linux@@ -72,7 +72,7 @@ brew install golangci-lintgo install github.com/golangci/golangci-lint/cmd/golangci-lint@latest```-Without golangci-lint, commits will still work but won't check linting locally.+The pre-commit hook will warn and allow commits without it, but CI will fail.## Before Committingdiff --git a/doctor.sh b/doctor.shindex 6bb136d5..63780aa8 100755--- a/doctor.sh+++ b/doctor.sh@@ -63,12 +63,12 @@ elsecheck_critical "Go" "fail" "Go not found. Install from https://go.dev/dl/"fi-# golangci-lint (warning)+# golangci-lint (critical)if command -v golangci-lint &>/dev/null; thenLINT_VERSION=$(golangci-lint --version 2>/dev/null | head -1 | awk '{print $4}')- check_warning "golangci-lint $LINT_VERSION" "ok"+ check_critical "golangci-lint $LINT_VERSION" "ok"else- check_warning "golangci-lint" "fail" "Optional but recommended. Install: brew install golangci-lint"+ check_critical "golangci-lint" "fail" "Required for pre-commit checks. Install: brew install golangci-lint or go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest"fi# Git hooks (warning)