mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
2db1530275
* upgrade * update biome * upgrade more
85 lines
2.0 KiB
JSON
85 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"includes": [
|
|
"**/*",
|
|
"!apps/docs/app/\\[lang\\]/docs",
|
|
"!apps/docs/app/\\[lang\\]/llms.mdx",
|
|
"!apps/docs/app/\\[lang\\]/llms.txt",
|
|
"!apps/docs/app/\\[lang\\]/og",
|
|
"!apps/docs/app/\\[lang\\]/rss.xml",
|
|
"!apps/docs/app/\\[lang\\]/layout.tsx",
|
|
"!apps/docs/app/actions/feedback",
|
|
"!apps/docs/app/api",
|
|
"!apps/docs/app/styles/geistdocs.css",
|
|
"!apps/docs/app/robots.ts",
|
|
"!apps/docs/app/sitemap.ts",
|
|
"!apps/docs/components/ai-elements",
|
|
"!apps/docs/components/geistdocs",
|
|
"!apps/docs/components/ui",
|
|
"!apps/docs/hooks/geistdocs",
|
|
"!apps/docs/hooks/use-mobile.ts",
|
|
"!apps/docs/lib/geistdocs",
|
|
"!apps/docs/lib/utils.ts",
|
|
"!apps/docs/geistdocs.tsx",
|
|
"!apps/docs/next.config.ts",
|
|
"!apps/docs/postcss.config.mjs",
|
|
"!apps/docs/source.config.ts",
|
|
"!apps/docs/proxy.ts"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space"
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedFunctionParameters": "off"
|
|
},
|
|
"complexity": {
|
|
"noUselessContinue": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noDocumentCookie": "off",
|
|
"noUnknownAtRules": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off"
|
|
},
|
|
"style": {
|
|
"useNodejsImportProtocol": "off",
|
|
"noNonNullAssertion": "off"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single"
|
|
}
|
|
},
|
|
"css": {
|
|
"parser": {
|
|
"tailwindDirectives": true,
|
|
"cssModules": true
|
|
}
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|