🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: add linter rule for react icons (#7910)
Max Deichmann6c80b5b4a025
diff --git a/web/.eslintrc.js b/web/.eslintrc.jsindex 6582db49b5..21a9e7547c 100644--- a/web/.eslintrc.js+++ b/web/.eslintrc.js@@ -5,4 +5,33 @@ module.exports = {parserOptions: {project: true,},+ rules: {+ "no-restricted-imports": [+ "error",+ {+ patterns: [+ {+ group: [+ "react-icons",+ "react-icons/!(si|tb)",+ "react-icons/!(si|tb)/*",+ ],+ message:+ "Only react-icons/si and react-icons/tb are allowed. Please use lucide-react for other icons.",+ },+ ],+ },+ ],+ },+ overrides: [+ {+ files: [+ "src/components/nav/support-menu-dropdown.tsx",+ "src/pages/auth/sign-in.tsx",+ ],+ rules: {+ "no-restricted-imports": "off",+ },+ },+ ],};