Skip to content
Discussion options

You must be logged in to vote

Ok, I found the answer:

Add both LSP:

[[language]]
name = "typescript"
language-servers = [
  { name = "typescript-language-server", except-features = ["format"] },
  "vscode-eslint-language-server",
  "biome",
]

And then add root configs for both biome and eslint. Cross ignore the projects that don't use biome/eslint:

// biome.jsonc
{
  "$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
  "root": true,
  "files": {
    "includes": ["**", "!apps/my-eslint-app/**/*"]
  }
}
// eslint.config.js
import { globalIgnores } from "eslint/config"

/** @type {import('eslint').Linter.Config[]} */
export default [
  globalIgnores(["apps/my-biome-app/**/*", "packages/my-biome-package/**/*"])
]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dionysiusmarquis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant