{"id":20010135,"url":"https://github.com/cxa/lsp-biome","last_synced_at":"2026-02-04T16:34:00.456Z","repository":{"id":214924290,"uuid":"737690655","full_name":"cxa/lsp-biome","owner":"cxa","description":"lsp-mode client for Biome","archived":false,"fork":false,"pushed_at":"2025-01-10T11:57:44.000Z","size":29,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T12:46:57.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cxa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-01T05:12:17.000Z","updated_at":"2025-01-10T11:57:48.000Z","dependencies_parsed_at":"2024-01-04T10:31:53.350Z","dependency_job_id":"2d8fba9d-9faf-44bc-ae5a-71a3f3431b9e","html_url":"https://github.com/cxa/lsp-biome","commit_stats":null,"previous_names":["cxa/lsp-biome"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2Flsp-biome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2Flsp-biome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2Flsp-biome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2Flsp-biome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxa","download_url":"https://codeload.github.com/cxa/lsp-biome/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447520,"owners_count":19964314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T07:18:34.793Z","updated_at":"2026-02-04T16:34:00.450Z","avatar_url":"https://github.com/cxa.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e If you like to run `biome` with Eglot, check out \u003chttps://github.com/cxa/eglot-lspx\u003e.\n\n# lsp-biome\n\n**lsp-mode client for [Biome](https://biomejs.dev/)**. \n\n## Installation\n\nTo integrate `lsp-biome` into your Emacs setup, you can take either:\n\n1. Clone this repo, add the `lsp-biome.el` file to your Emacs `load-path`.\n\n   ```elisp\n   (add-to-list 'load-path \"/path/to/lsp-biome/\")\n   ```\n\n   Replace \"/path/to/lsp-biome/\" with the actual path to the `lsp-biome` directory.\n\n2. Alternatively, if you're using a package manager like `use-package` with `quelpa`, add the following configuration:\n\n   ```elisp\n   (use-package lsp-biome\n       :vc (:url \"https://github.com/cxa/lsp-biome\" :rev :newest))\n       ;; or :quelpa (lsp-biome :fetcher github :repo \"cxa/lsp-biome\")) if are using Emacs below 30\n   ```\n\n## Configuration\n\nCustomize the behavior of `lsp-biome` using the following configuration options:\n\n- `lsp-biome-active-file-types`: file types that `lsp-biome` should activate, default is:\n  ```elsip\n  (list (rx \".\" (or \"tsx\" \"jsx\"\n                    \"ts\" \"js\"\n                    \"mts\" \"mjs\"\n                    \"cts\" \"cjs\"\n                    \"json\" \"jsonc\"\n                    \"css\")\n            eos)\n  ```\n  \n- `lsp-biome-active-hook`: Hooks to run after activation, default is `nil`. See below for a usage example.\n\n## Commands\n\nExplore the following commands provided by `lsp-biome`:\n\n- **`lsp-biome-organize-imports`**: Organize imports in the current buffer.\n- **`lsp-biome-fix-all`**: Apply automatic code fixes in current buffer.\n\n## Tips\n\nUse with `apheleia`:\n\n``` elsip\n(use-package lsp-biome\n  :vc (:url \"https://github.com/cxa/lsp-biome\" :rev :newest)\n  :preface\n  (defun my/lsp-biome-active-hook ()\n    (setq-local apheleia-formatter '(biome)))\n  \n  :config\n  (add-hook 'lsp-biome-active-hook #'my/lsp-biome-active-hook))\n```\n\n## Notice\n\nTo use `lsp-biome`, you must install `biome` either within your project or globally (ensure that Emacs can locate your `biome` in the `$PATH`).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxa%2Flsp-biome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxa%2Flsp-biome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxa%2Flsp-biome/lists"}