826433751c
Biome seems to be MUCH faster than Prettier. Unfortunately, it introduces some formatting changes around the ternary operator, so we have to update files in the repo. To make revert easier if we need it, the change is split into two PRs. This PR has only config/package changes and is expected to fail the CI. ## Change Type - [x] `minor` — New feature
77 lines
1.4 KiB
JSON
77 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true,
|
|
"defaultBranch": "main"
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"ignore": [
|
|
"dist",
|
|
"node_modules",
|
|
"**/*.d.ts",
|
|
".next",
|
|
".vercel",
|
|
".vscode",
|
|
".lazy",
|
|
".husky",
|
|
"index.json",
|
|
"*.api.json",
|
|
"api.json",
|
|
"**/out/*",
|
|
"**/dist/*",
|
|
"**/dist-cjs/*",
|
|
"**/dist-esm/*",
|
|
"**/.next/*",
|
|
"**/packages/**/api/*",
|
|
"**/.tsbuild*",
|
|
"*.mdx",
|
|
"**/_archive/*",
|
|
"apps/docs/api-content.json",
|
|
"apps/docs/content.json",
|
|
"apps/vscode/extension/editor/*",
|
|
"apps/examples/www",
|
|
"content.json",
|
|
"apps/docs/utils/vector-db/index.json",
|
|
"**/gen/**/*.md",
|
|
"**/.vercel/*",
|
|
"**/.wrangler/*",
|
|
"**/.out/*",
|
|
"**/.temp/*",
|
|
"apps/dotcom/public/**/*.*"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2,
|
|
"lineEnding": "lf",
|
|
"lineWidth": 100
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "asNeeded",
|
|
"trailingComma": "es5",
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "double",
|
|
"quoteProperties": "asNeeded",
|
|
"arrowParentheses": "always",
|
|
"bracketSameLine": false,
|
|
"bracketSpacing": true
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"lineWidth": 80
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": false
|
|
}
|
|
}
|