- Biome
- Biome for Nova
- 9 Installs
-
This extension is allowed to:
- Read Files
- Launch Subprocesses
Readme
Biome
Biome extension provides support for the Biome in Nova.
It uses biome lsp-proxy
as LSP server
Format code like Prettier, save time - Biome is a fast formatter for JavaScript, TypeScript, JSX, TSX, JSON, CSS and GraphQL that scores 97% compatibility with Prettier, saving CI and developer time.
Fix problems, learn best practice - Biome is a performant linter for JavaScript, TypeScript, JSX, CSS and GraphQL that features 315 rules from ESLint, TypeScript ESLint, and other sources.
Prequesites
Install Biome
brew install biome
Supports
- Diagnostics
- Code Actions
- Format on Save (disabled by default)
Settings
Go to Extensions -> Extension Library... -> Biome -> Settings
Biome path
Default value: /opt/homebrew/bin/biome
Change it if you installed biome
without brew
Format on Save
Enables/Disables autoformat on save using biome
Syntaxes
Currently included syntaxes: astro, css, graphql, javascript, javascriptreact, json, jsonc, jsx, svelte, typescript, typescript.tsx, typescriptreact, tsx, vue
Configuration files
The Biome extension watches changes in biome.json
, biome.jsonc
, .editorconfig
and rome.json
and restarts the LSP server to immediately reflect changes on diagnostics/formatting behavior
Example config
biome.json
{
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto"
}
},
"overrides": [
{
"include": ["*.json"],
"formatter": {
"indentWidth": 2
}
}
]
}
Changelog
Version 0.0.2
Add support for jsx and tsx syntaxes
Version 0.0.1
Initial release
License
MIT License
Copyright (c) 2025 Ihar Biaspalau
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.