Files
mridatalib/biome.json
T
orrisroot 470164320f build: replace eslint with biome and upgrade typescript to 7
typescript-eslint does not support TypeScript 7 yet, so retire ESLint
and lint with Biome, which the site repositories already use.

- Enable the Biome linter with the recommended preset
- Turn off noAssignInExpressions for the inline offset advances in
  the binary header parsers
- Exclude dist instead of build from Biome
- Run biome lint for the lint and lint:fix scripts
- Remove eslint, @eslint/js and the typescript-eslint packages
- Upgrade typescript to 7.0.2, tsdown to 0.23.0 and biome to 2.5.13
2026-09-15 20:30:54 +09:00

35 lines
708 B
JSON

{
"$schema": "https://biomejs.dev/schemas/2.5.13/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": ["**", "!**/dist", "!**/node_modules"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"suspicious": {
"noAssignInExpressions": "off"
}
}
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "all"
}
}
}