supermemory/biome.json
2026-04-02 18:20:34 +00:00

120 lines
2.1 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
"css": {
"parser": {
"tailwindDirectives": true
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "off",
"useSortedAttributes": "off",
"useSortedKeys": "off"
}
},
"enabled": true
},
"files": {
"includes": [
"**",
"!**/node_modules/",
"!**/.next/",
"!**/.contentlayer/",
"!**/.vercel/",
"!**/.react-router/",
"!**/.wrangler/",
"!**/package.json",
"!**/worker-configuration.d.ts",
"!**/.turbo/",
"!**/.vercel/",
"!**/dist/",
"!**/.astro/",
"!**/build/",
"!**/.alchemy/",
"!**/.build/",
"!**/.open-next/",
"!**/*.astro"
]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "asNeeded"
}
},
"linter": {
"domains": {
"project": "none"
},
"enabled": true,
"rules": {
"a11y": {
"useValidAnchor": "warn"
},
"correctness": {
"noUnusedVariables": {
"level": "warn",
"options": {
"ignoreRestSiblings": true
}
},
"useExhaustiveDependencies": "warn",
"noUnusedImports": "warn"
},
"recommended": true,
"style": {
"noDefaultExport": "off",
"noInferrableTypes": "error",
"noNonNullAssertion": "warn",
"noParameterAssign": "error",
"noUnusedTemplateLiteral": "error",
"noUselessElse": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useNamingConvention": {
"level": "off",
"options": {
"strictCase": false
}
},
"useNumberNamespace": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error"
}
}
},
"overrides": [
{
"includes": ["**/*.astro"],
"linter": {
"rules": {
"correctness": {
"noUnusedVariables": "off",
"noUnusedImports": "off"
}
}
}
},
{
"includes": ["**/globals.css"],
"linter": {
"rules": {
"complexity": {
"noImportantStyles": "off"
}
}
}
}
],
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
}
}