Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: update ESLint to v9 and remove deprecated dependencies

Mario981a653267d7
diff --git a/npm/.eslintrc.json b/npm/.eslintrc.json
deleted file mode 100644
index 302358a5..00000000
--- a/npm/.eslintrc.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parser": "@typescript-eslint/parser",
- "extends": [
- "eslint:recommended",
- "plugin:@typescript-eslint/recommended"
- ],
- "plugins": ["@typescript-eslint"],
- "env": {
- "node": true,
- "es2020": true
- },
- "parserOptions": {
- "ecmaVersion": 2020,
- "sourceType": "module"
- },
- "rules": {
- "@typescript-eslint/no-explicit-any": "warn",
- "@typescript-eslint/no-unused-vars": [
- "error",
- {
- "argsIgnorePattern": "^_"
- }
- ],
- "no-console": [
- "warn",
- {
- "allow": ["log", "warn", "error"]
- }
- ],
- "prefer-const": "error",
- "no-var": "error"
- },
- "overrides": [
- {
- "files": ["scripts/*.js"],
- "rules": {
- "@typescript-eslint/no-var-requires": "off"
- }
- },
- {
- "files": ["tests/**/*.js"],
- "rules": {
- "@typescript-eslint/no-var-requires": "off"
- }
- }
- ],
- "ignorePatterns": ["dist/", "node_modules/", "*.d.ts"]
-}
diff --git a/npm/package.json b/npm/package.json
index 188775dd..ebbe4d4e 100644
--- a/npm/package.json
+++ b/npm/package.json
@@ -41,10 +41,10 @@
"devDependencies": {
"typescript": "^5.3.0",
"@types/node": "^20.0.0",
- "eslint": "^8.54.0",
- "@typescript-eslint/parser": "^6.13.0",
- "@typescript-eslint/eslint-plugin": "^6.13.0",
- "prettier": "^3.1.0"
+ "eslint": "^9.0.0",
+ "@typescript-eslint/parser": "^8.0.0",
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
+ "prettier": "^3.2.0"
},
"engines": {
"node": ">=16"