Conversation
Summary of ChangesHello @scidomino, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on project cleanup by removing a redundant ESLint configuration file. The removal simplifies the project structure and eliminates an unneeded configuration, contributing to a leaner and more maintainable codebase without impacting the overall linting setup, which is presumably handled at a higher level. Highlights
Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request removes the ESLint configuration file for the vscode-ide-companion package. While consolidating ESLint configurations is a good goal, this change is problematic. The root eslint.config.js applies React-specific linting rules globally, but the vscode-ide-companion package does not use React. Applying these rules is incorrect and can lead to false linting errors. Therefore, this package-specific configuration is still necessary until the root configuration is adjusted to apply React rules only to the relevant packages.
I am having trouble creating individual review comments. Click here to see my feedback.
packages/vscode-ide-companion/eslint.config.mjs (1-50)
This file should not be removed. The root eslint.config.js applies React-specific linting rules (from eslint-plugin-react and eslint-plugin-react-hooks) to all packages. However, vscode-ide-companion is not a React-based project, so applying these rules is incorrect and can cause misleading lint errors.
To fix this, the root ESLint configuration should be modified to scope the React-specific rules only to the packages that actually use React. Until that is done, this package-specific configuration is required to ensure correct linting for vscode-ide-companion.
|
Size Change: -2 B (0%) Total Size: 24.4 MB ℹ️ View Unchanged
|
Summary
Remove unnecessary eslint config file