summaryrefslogtreecommitdiff
path: root/biome.jsonc
diff options
context:
space:
mode:
authorKha Nguyen <hi@khanguyen.com>2025-07-24 17:08:33 -0500
committerKha Nguyen <hi@khanguyen.com>2025-07-24 17:10:39 -0500
commit8dcbbfa25245624cfaa1f8b8b1a21c6c4e29d993 (patch)
tree6d5e8268b98bea8fda8356a817a0662730613cb5 /biome.jsonc
parent8e737d87e0accbf1d433f4c8b1e8e0f125849799 (diff)
parent65c3f9f7f78f787262a88c75b96a118ca5bee15c (diff)
downloadopencut-8dcbbfa25245624cfaa1f8b8b1a21c6c4e29d993.tar.gz
Merge branch 'main' into fix/project-title-styling
Diffstat (limited to 'biome.jsonc')
-rw-r--r--biome.jsonc109
1 files changed, 109 insertions, 0 deletions
diff --git a/biome.jsonc b/biome.jsonc
new file mode 100644
index 00000000..278e3845
--- /dev/null
+++ b/biome.jsonc
@@ -0,0 +1,109 @@
+{
+ "$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
+ "extends": ["ultracite"],
+
+ "assist": {
+ "actions": {
+ "source": {
+ "organizeImports": "off",
+ "useSortedAttributes": "off"
+ }
+ }
+ },
+ "linter": {
+ "rules": {
+ "a11y": {
+ "noLabelWithoutControl": "off",
+ "noRedundantRoles": "off",
+ "noStaticElementInteractions": "off",
+ "noSvgWithoutTitle": "off",
+ "useAriaPropsForRole": "off",
+ "useAriaPropsSupportedByRole": "off",
+ "useFocusableInteractive": "off",
+ "useKeyWithClickEvents": "off",
+ "useMediaCaption": "off",
+ "useSemanticElements": "off"
+ },
+ "complexity": {
+ "noExcessiveCognitiveComplexity": "off",
+ "noForEach": "off",
+ "noUselessFragments": "off",
+ "useOptionalChain": "off",
+ "useSimplifiedLogicExpression": "off"
+ },
+ "correctness": {
+ "noUnusedFunctionParameters": "off",
+ "noUnusedImports": "off",
+ "noUnusedVariables": "off",
+ "useExhaustiveDependencies": "off",
+ "useHookAtTopLevel": "off",
+ "useJsxKeyInIterable": "off"
+ },
+ "nursery": {
+ "noAwaitInLoop": "off",
+ "noBitwiseOperators": "off",
+ "noNestedComponentDefinitions": "off",
+ "noNoninteractiveElementInteractions": "off",
+ "noShadow": "off",
+ "noUnknownAtRule": "off",
+ "useIterableCallbackReturn": "off",
+ "useParseIntRadix": "off",
+ "useSortedClasses": "off"
+ },
+ "performance": {
+ "noImgElement": "off",
+ "noNamespaceImport": "off",
+ "useTopLevelRegex": "off"
+ },
+ "style": {
+ "noNestedTernary": "off",
+ "noNonNullAssertion": "off",
+ "useAtIndex": "off",
+ "useBlockStatements": "off",
+ "useCollapsedElseIf": "off",
+ "useCollapsedIf": "off",
+ "useConsistentArrayType": "off",
+ "useDefaultSwitchClause": "off",
+ "useFilenamingConvention": "off",
+ "useForOf": "off",
+ "useImportType": "off",
+ "useNodejsImportProtocol": "off",
+ "useShorthandAssign": "off",
+ "useTemplate": "off",
+ "useNumberNamespace": "off"
+ },
+ "suspicious": {
+ "noArrayIndexKey": "off",
+ "noConsole": "off",
+ "noDocumentCookie": "off",
+ "noEmptyBlockStatements": "off",
+ "noEvolvingTypes": "off",
+ "noExplicitAny": "off",
+ "noGlobalIsNan": "off",
+ "noImplicitAnyLet": "off",
+ "useAwait": "off"
+ },
+ "security": {
+ "noDangerouslySetInnerHtml": "off"
+ }
+ }
+ },
+ "javascript": {
+ "formatter": {
+ "jsxQuoteStyle": "double",
+ "quoteProperties": "preserve",
+ "trailingCommas": "es5",
+ "arrowParentheses": "always",
+ "lineWidth": 80,
+ "bracketSpacing": true,
+ "bracketSameLine": false,
+ "quoteStyle": "double",
+ "attributePosition": "auto"
+ }
+ },
+ "json": {
+ "formatter": {
+ "indentWidth": 2
+ }
+ }
+}