Conversation
There was a problem hiding this comment.
Pull request overview
This pull request migrates from the legacy ESLint configuration format (.eslintrc.json) to the modern flat config format (eslint.config.mjs) using a shared configuration from @feedic/eslint-config. The changes also introduce Biome as an additional formatter/linter and upgrade ESLint from v8 to v10.
Changes:
- Upgraded ESLint from v8.57.1 to v10.0.1 and adopted flat config format
- Added shared ESLint configuration via
@feedic/eslint-configpackage - Introduced Biome (v2.4.4) for additional formatting/linting
- Applied automated code fixes (parentheses for operator precedence, modern array methods)
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated dependencies (ESLint v10, removed Prettier, added Biome and shared config), reorganized scripts, added "type": "commonjs" field |
| package-lock.json | Dependency lock file updates reflecting new package versions and added/removed dependencies |
| eslint.config.mjs | New flat ESLint configuration file using shared config and TypeScript rules |
| biome.json | New Biome configuration for formatting and linting |
| .eslintrc.json | Removed legacy ESLint configuration |
| .eslintignore | Removed (replaced by config in flat config file) |
| .prettierignore | Removed (Prettier replaced by Biome) |
| src/index.ts | Added parentheses around modulo operations for clarity, renamed loop variables |
| src/index.spec.ts | Modernized code using Array.from() and .entries() |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.