Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🔧 chore: update ESLint configuration and dependencies

Inneieefb67e74a00
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index ddc0eca3fe1..81198696c3a 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -77,7 +77,7 @@
"electron-store": "^8.2.0",
"electron-vite": "^4.0.1",
"es-toolkit": "^1.43.0",
- "eslint": "^8.57.1",
+ "eslint": "^9.18.0",
"execa": "^9.6.1",
"fast-glob": "^3.3.3",
"fix-path": "^5.0.0",
@@ -111,4 +111,4 @@
"node-mac-permissions"
]
}
-}
+}
\ No newline at end of file
diff --git a/eslint-suppressions.json b/eslint-suppressions.json
index 3233e3b78b5..ad1c7d4fd83 100644
--- a/eslint-suppressions.json
+++ b/eslint-suppressions.json
@@ -1321,4 +1321,4 @@
"count": 1
}
}
-}
+}
\ No newline at end of file
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 5ce8444ec2c..42732f474b7 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -48,22 +48,6 @@ export default eslint(
'@typescript-eslint/no-useless-constructor': 0,
'no-extra-boolean-cast': 0,
'react/no-unknown-property': 0,
- 'unicorn/catch-error-name': 0,
- 'unicorn/explicit-length-check': 0,
- 'unicorn/no-array-callback-reference': 0,
- 'unicorn/require-module-specifiers': 0,
- 'unicorn/no-array-for-each': 0,
- 'unicorn/no-negated-condition': 0,
- 'unicorn/no-null': 0,
- 'unicorn/no-typeof-undefined': 0,
- 'unicorn/no-useless-undefined': 0,
- 'unicorn/prefer-code-point': 0,
- 'unicorn/prefer-logical-operator-over-ternary': 0,
- 'unicorn/prefer-number-properties': 0,
- 'unicorn/prefer-query-selector': 0,
- 'unicorn/prefer-spread': 0,
- 'unicorn/prefer-ternary': 0,
- 'unicorn/prefer-type-error': 0,
},
},
// MDX files
diff --git a/package.json b/package.json
index 000f5e67941..052a9f89370 100644
--- a/package.json
+++ b/package.json
@@ -378,11 +378,10 @@
"@huggingface/tasks": "^0.19.80",
"@lobechat/types": "workspace:*",
"@lobehub/i18n-cli": "^1.26.0",
- "@lobehub/lint": "2.0.0-beta.8",
+ "@lobehub/lint": "2.0.2",
"@lobehub/market-types": "^1.12.3",
"@lobehub/seo-cli": "^1.7.0",
"@next/bundle-analyzer": "^16.1.5",
- "@next/eslint-plugin-next": "^16.1.5",
"@peculiar/webcrypto": "^1.5.0",
"@playwright/test": "^1.58.0",
"@prettier/sync": "^0.6.1",