Refactor: replace ESLint and Prettier with Biome #79
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.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
This pull request introduces significant changes to the project configuration and codebase, focusing on replacing Prettier and ESLint with Biome, improving code readability, and updating dependencies. Below are the most important changes grouped by theme:
Configuration Updates:
.prettierignore
and.prettierrc.json
files as part of the transition to Biome. (.prettierignore
[1].prettierrc.json
[2]biome.json
configuration file to define Biome settings, including version control, file ignoring, formatting, linting, and JavaScript-specific rules. (biome.json
biome.jsonR1-R66)eslint.config.js
to remove ESLint and Prettier configurations. (eslint.config.js
eslint.config.jsL1-L17)Dependency and Script Changes:
package.json
to replace ESLint and Prettier dependencies with Biome, and modified linting scripts to use Biome. (package.json
[1] [2]package.json
by reformatting array items and removing unnecessary dependencies. (package.json
package.jsonL26-R24)Codebase Improvements:
src/cli.ts
,src/downloader.ts
,src/index.ts
, and test files to improve readability and consistency, such as usingtype
imports and reordering import statements. (src/cli.ts
[1] [2] [3]src/downloader.ts
[4] [5] [6] [7]src/index.ts
[8] [9] [10]test/cli.spec.ts
[11]test/downloader.spec.ts
[12]test/fixtures/mocks/handlers.ts
[13]test/index.spec.ts
[14] [15] [16] [17] [18] [19]These changes streamline the project's configuration and improve code maintainability.
Other information
None