summaryrefslogtreecommitdiff
path: root/docs/biome.jsonc
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-01-10 22:11:45 +0900
committerSho Sakuma <me@m1sk9.dev>2026-01-10 22:11:45 +0900
commitcf34e15ddedb9f8665045389e90f5f198989a23d (patch)
tree0365f024c0760f235ace807cfb7034f7f8f995ab /docs/biome.jsonc
parent7098bba7b5c516a57e3eaae3f5a3305f8bf5c476 (diff)
downloadLunaticChat-cf34e15ddedb9f8665045389e90f5f198989a23d.tar.gz
LunaticChat-cf34e15ddedb9f8665045389e90f5f198989a23d.tar.bz2
LunaticChat-cf34e15ddedb9f8665045389e90f5f198989a23d.zip
docs: Add LunaticChat docs
Diffstat (limited to 'docs/biome.jsonc')
-rw-r--r--docs/biome.jsonc50
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/biome.jsonc b/docs/biome.jsonc
new file mode 100644
index 0000000..236abfa
--- /dev/null
+++ b/docs/biome.jsonc
@@ -0,0 +1,50 @@
+{
+ "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
+ "files": {
+ "ignoreUnknown": true,
+ "includes": [".vitepress/config.mts", "biome.jsonc"]
+ },
+ "formatter": {
+ "enabled": true,
+ "formatWithErrors": false,
+ "indentStyle": "space",
+ "indentWidth": 2,
+ "lineEnding": "lf",
+ "lineWidth": 80,
+ "attributePosition": "auto"
+ },
+ "javascript": {
+ "formatter": {
+ "jsxQuoteStyle": "double",
+ "quoteProperties": "asNeeded",
+ "trailingCommas": "all",
+ "semicolons": "always",
+ "arrowParentheses": "always",
+ "bracketSpacing": true,
+ "bracketSameLine": false,
+ "quoteStyle": "single",
+ "attributePosition": "auto"
+ }
+ },
+ "linter": {
+ "enabled": true,
+ "rules": {
+ "recommended": true,
+ "suspicious": {
+ "noShadowRestrictedNames": "off"
+ },
+ "style": {
+ "noParameterAssign": "error",
+ "useAsConstAssertion": "error",
+ "useDefaultParameterLast": "error",
+ "useEnumInitializers": "error",
+ "useSelfClosingElements": "error",
+ "useSingleVarDeclarator": "error",
+ "noUnusedTemplateLiteral": "error",
+ "useNumberNamespace": "error",
+ "noInferrableTypes": "error",
+ "noUselessElse": "error"
+ }
+ }
+ }
+}