Files
fluxer-desktop-patched/biome.json
T
brenden 682afacd30 Add native self-hosted instance connection to fluxer_desktop
Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 +
tools/ci) with a "Connect to a Different Server" menu item and popout
that lets the desktop app switch to any self-hosted Fluxer instance,
plus fixes for well-known discovery on single-domain self-hosted
deployments and a false-positive ERR_ABORTED on same-origin client
redirects during the switch. Defaults to chat.fluxr.chat and uses an
isolated userData directory from the official build.
2026-07-01 18:22:43 -04:00

153 lines
3.6 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"lineWidth": 120,
"lineEnding": "lf",
"bracketSpacing": false,
"includes": ["**", "!**/fluxer_app/src/features/theme/variables/ThemeVariableManifest.ts"]
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": false,
"bracketSameLine": false
},
"globals": ["React"]
},
"json": {
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineWidth": 120
},
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
},
"css": {
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineWidth": 120,
"quoteStyle": "single"
},
"parser": {
"cssModules": true,
"tailwindDirectives": true
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
"noImportantStyles": "off",
"useLiteralKeys": "off"
},
"correctness": {
"noUndeclaredVariables": "error",
"noUnusedVariables": "error",
"noInvalidUseBeforeDeclaration": "off",
"useExhaustiveDependencies": "off"
},
"suspicious": {
"noArrayIndexKey": "off",
"noAssignInExpressions": "off",
"noExplicitAny": "off",
"noThenProperty": "off",
"noDoubleEquals": {
"level": "error",
"options": {
"ignoreNull": true
}
},
"noVar": "error",
"useAdjacentOverloadSignatures": "off",
"useIterableCallbackReturn": "off"
},
"style": {
"useConsistentArrayType": {
"level": "error",
"options": {
"syntax": "generic"
}
},
"useConst": "error",
"noNonNullAssertion": "off",
"noParameterAssign": "off"
},
"a11y": {
"recommended": true,
"useAriaPropsForRole": "error",
"useValidAriaRole": "error",
"useValidAriaValues": "error",
"useValidAriaProps": "error",
"useAltText": "error",
"useAnchorContent": "error",
"useButtonType": "error",
"useKeyWithClickEvents": "error",
"useKeyWithMouseEvents": "error",
"useSemanticElements": "off",
"noAriaUnsupportedElements": "error",
"noNoninteractiveElementToInteractiveRole": "error",
"noNoninteractiveTabindex": "error",
"noRedundantAlt": "error",
"noRedundantRoles": "error",
"noInteractiveElementToNoninteractiveRole": "error",
"noAutofocus": "warn",
"noAccessKey": "warn",
"useAriaActivedescendantWithTabindex": "error",
"noSvgWithoutTitle": "off"
},
"nursery": {
"useSortedClasses": "error"
}
}
},
"assist": {"actions": {"source": {"organizeImports": "on"}}},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**",
"!**/.git",
"!**/app.css",
"!fluxer_admin/public/static/app.css",
"!**/build",
"fluxer_app/scripts/build",
"!**/dist",
"!**/fluxer_app/src/media/data/emojis.json",
"!**/fluxer_app/src/features/i18n/locales/*/messages.js",
"!**/fluxer_app/src/features/i18n/locales/*/messages.mjs",
"!**/fluxer_app/src/env.d.ts",
"!**/*.generated.*",
"!**/*.pb.*",
"!**/*_pb.*",
"!**/node_modules",
"!packages/schema/src/gen",
"!**/tailwind.css",
"!**/*.html",
"!**/*.module.css.d.ts",
"!**/fluxer_app/src/features/ui/components/SVGMasks.tsx",
"!fluxer_static",
"!fluxer_admin/static/htmx.min.js",
"!fluxer_marketing/static/htmx.min.js",
"!fluxer_api/src/api/openapi/openapi.json"
],
"ignoreUnknown": true
}
}