[chore]: migrate `browse` to oxlint

Merged
SE
19d ago
+388-750

why

  • the monorepo uses oxlint

what changed

  • ported the cli specific eslint rules into oxlint
  • removed eslint dep & config/scripts

Summary by cubic

Migrates packages/cli linting from ESLint to oxlint so the CLI uses the same linter as the monorepo.

  • Ports the CLI's ESLint rules (ESLint recommended, typescript-eslint recommended, security, and no-restricted-syntax selectors) into custom oxlint rules and overrides under rules/oxlint/, adding new stagehand/no-dynamic-code and stagehand/no-legacy-octal rules to cover nonliteral eval, dynamic Function construction, and legacy octal literals in CommonJS.
  • Adds integration tests that verify the new suite rejects the same violations, accepts the same valid code, and honors the same ignore patterns as the old ESLint config.
  • Replaces the eslint/eslint:fix scripts with oxlint/oxlint:fix, deletes eslint.config.mjs, and removes ESLint devDependencies and ~666 lockfile entries.