fix: resolve all ESLint errors/warnings, upgrade deps, add CLAUDE.md#22
Open
vagedis74 wants to merge 3 commits intomicrosoft-foundry:mainfrom
Open
fix: resolve all ESLint errors/warnings, upgrade deps, add CLAUDE.md#22vagedis74 wants to merge 3 commits intomicrosoft-foundry:mainfrom
vagedis74 wants to merge 3 commits intomicrosoft-foundry:mainfrom
Conversation
Migrate eslint.config.js from broken defineConfig+extends to tseslint.config with explicit plugin registration. Fix all 14 lint issues: - Remove unused _agentId param (AgentPreview) - Replace setState-in-effect with useMemo + DOM ref (ChatInterface) - Add missing exhaustive-deps dependency (ChatInput) - Move FileReader logic out of setState callbacks (FilePreview) - Replace `as any` with proper type unions (AgentIcon, main, chatService) - Wrap case-block declaration in braces (chatService) - Extract DefaultErrorFallback to own file (ErrorBoundary) - Extract useAppContext hook and AppContext value to own files (AppContext) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Upgrade eslint 9→10, @eslint/js→10, typescript-eslint→8.56, eslint-plugin-react-refresh→0.5. Add minimatch >=10.2.1 override to resolve all high-severity npm audit vulnerabilities. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add ability to switch between AI Foundry agents at runtime through a new Agent dropdown in the Settings panel. Includes backend CRUD endpoints (GET/POST /api/agents), frontend AgentPicker component, and integration tests (19/19 passing). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
defineConfig+extendstotseslint.configwith explicit plugin registration (ESLint 9 → 10)no-explicit-any,set-state-in-effect,no-case-declarations,react-refresh/only-export-components)minimatchoverride to fix 9 of 11 npm audit vulnerabilities (remaining 2 moderate are unfixableajvin ESLint internals, dev-only)CLAUDE.mdfor Claude Code onboarding contextTest plan
npm run buildpasses (tsc + vite)npm run lintpasses with 0 errors, 0 warningsdotnet buildpasses with 0 errors, 0 warningsnpm auditshows 0 high vulnerabilities🤖 Generated with Claude Code