Update ESLint, Prettier, tsconfig, and dependencies to modern versions#193
Merged
Conversation
Co-authored-by: tnaum-ms <171359267+tnaum-ms@users.noreply.github.com>
Co-authored-by: tnaum-ms <171359267+tnaum-ms@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update ESLint, Prettier, tsconfig, and the outdated dependencies.
Update ESLint, Prettier, tsconfig, and dependencies to modern versions
Jul 17, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the project's development tooling configuration by migrating from legacy to modern standards and updating dependencies to their latest compatible versions.
- Updated ESLint from legacy
.eslintrc.jsto moderneslint.config.mjsflat config format - Replaced
.prettierrcwithprettier.config.mjsusing ES module syntax - Updated TypeScript configuration to target ES2023 and modernized dependency APIs
Reviewed Changes
Copilot reviewed 60 out of 62 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| eslint.config.mjs | New modern ESLint flat config format with comprehensive rule sets |
| prettier.config.mjs | New Prettier config using ES module syntax |
| package.json | Updated all dev dependencies to latest versions with new eslint/prettier packages |
| webpack.config.*.js | Updated build targets to ES2023 and added dev server middleware fix |
| test/* | Replaced deprecated test utilities with local implementations |
| src/* | Updated imports from lodash to es-toolkit and fs-extra to native Node.js APIs |
Comments suppressed due to low confidence (1)
src/webviews/documentdb/collectionView/components/QueryEditor.tsx:20
- [nitpick] The interface 'QueryEditorProps' should follow the project's naming convention. Consider using a more descriptive name like 'IQueryEditorProps' to align with other interface naming patterns in the codebase.
export const QueryEditor = ({ onExecuteRequest }: QueryEditorProps): JSX.Element => {
…rom code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.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.
Updates the project's tooling configuration to use modern versions and configurations, based on the changes from microsoft/vscode-cosmosdb#2673.
Key Changes
Configuration Updates
.eslintrc.jsto moderneslint.config.mjsflat config format.prettierrcwithprettier.config.mjsusing ES module syntaxtsconfig.jsonto use ES2023 target (Node.js 20.9+ fully supports it)Dependency Updates
es-toolkitas a modern replacement for some lodash utilitiesCode Modernization
fs-extrawith native Node.jsnode:fs/promisesAPIspathExistsfor async file system checksBuild & Tooling
.vscodeignoreto exclude new config files from packagingTesting
This modernization brings the project in line with current best practices while maintaining full functionality.
Fixes #168.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.