feat: update dependencies#5
Conversation
fgiova
commented
Sep 2, 2025
- use biome.js for formatting and linting
- move to qlty
- esm/cjs build
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the project's development toolchain by replacing ESLint with Biome.js for formatting and linting, updating to qlty for code quality metrics, and adding ESM/CJS build support.
Key changes:
- Replace ESLint configuration with Biome.js for improved TypeScript support and formatting
- Update dependencies to newer versions including Node 20 as minimum version
- Add dual ESM/CJS build support through package.json exports
Reviewed Changes
Copilot reviewed 19 out of 22 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Update dependencies, add ESM/CJS exports configuration, switch build tooling |
| biome.json | Add Biome.js configuration file |
| .eslintrc.js/.eslintignore | Remove ESLint configuration files |
| .nvmrc | Update Node version from 18 to 20 |
| .github/workflows/node.js.yml | Update CI to use qlty and test Node 24 |
| README.md | Update badges to use qlty instead of CodeClimate |
| src/ files | Apply Biome formatting rules and add biome-ignore comments |
| test/ files | Apply Biome formatting, fix imports to use node: prefix, update test syntax |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| queueARN, | ||
| handler: async (message: Message) => { | ||
| return {success: true}; | ||
| handler: async () => { |
There was a problem hiding this comment.
The handler function parameter message has been removed but the function is supposed to handle Message objects. This creates inconsistency with the expected handler signature and could indicate incomplete refactoring.
| handler: async () => { | |
| handler: async (message: Message) => { |
| // @ts-expect-error | ||
| handler, |
There was a problem hiding this comment.
Using @ts-expect-error to suppress TypeScript errors for the handler suggests a type mismatch that should be properly resolved rather than suppressed.
| // @ts-expect-error | ||
| onHandlerTimeout, |
There was a problem hiding this comment.
The @ts-expect-error directive is being used to suppress type errors for the hook assignment. This indicates a type mismatch that should be resolved properly.
- use biome.js for formatting and linting - move to qlty - esm/cjs build
ef2b0d3 to
35a4abc
Compare