Added Biome linter config and CI: created biome.json, workflow file a…#274
Added Biome linter config and CI: created biome.json, workflow file a…#274FaizFarooqMoazam wants to merge 1 commit intoScottyLabs:mainfrom
Conversation
…nd updated root package.json file.
|
@FaizFarooqMoazam is attempting to deploy a commit to the ScottyLabs Team on Vercel. A member of the Team first needs to authorize it. |
|
This looks good! |
|
Need to reach out to see about the authorization of Vercel, but looks good! |
ap-1
left a comment
There was a problem hiding this comment.
In $schema in biome.json, you should opt to import it from node_modules rather than from URL. They have one in @biomejs/biome.
The way it is currently, the schema will no longer match the version of Biome after it's updated.
ap-1
left a comment
There was a problem hiding this comment.
I also recommend adding a .editorconfig file (right click in the file tree in VS Code -> "Generate EditorConfig") that matches the settings selected here. This way, the editor will recognize that the project expects tab indents.
I also recommend adding an editor -> formatOnSave configuration in .vscode/settings.json, and adding Biome as a recommended extension in .vscode/extensions.json.
Replace ESLint with Biome (Issue #196)
This pull request proposes replacing the current ESLint + Prettier setup with Biome for faster, unified linting, formatting, and import organization across the repository.
Summary
biome.jsonconfiguration at the repo root.biome.ymlfile to run Biome in CI.package.jsonscripts to run Biome for linting and formatting.Purpose
Usage (Local)
If you use Bun:
If you use npm:
##Testing
bun run biome:check(majority of output not shown, contained intricacies about syntax errors in the source code)Notes
Closes #196