136 lines
3.0 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/node_modules",
"!**/dist",
"!**/*.d.ts",
"!**/routeTree.gen.ts",
"!**/cait_sith_keplr_addon/addon/index.js",
"sandbox/sandbox_react_native"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto",
"useEditorconfig": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"useTemplate": "off",
"useBlockStatements": "error",
"useNodejsImportProtocol": "off",
"useConsistentTypeDefinitions": "off"
},
"complexity": {
"useArrowFunction": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noPrototypeBuiltins": "off"
},
"performance": {
"noImgElement": "off"
},
"a11y": {
"useKeyWithClickEvents": "off",
"noLabelWithoutControl": "off",
"useSemanticElements": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteProperties": "preserve",
"attributePosition": "auto"
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
[":NODE:", ":PACKAGE:", "!@oko-wallet-*/**"],
":BLANK_LINE:",
[":ALIAS:", ":PATH:"]
]
}
}
}
}
},
"overrides": [
{
"includes": ["crypto/tecdsa/cait_sith_keplr_addon/**"],
"javascript": {
"formatter": {
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteProperties": "preserve",
"attributePosition": "auto"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useConst": "error",
"useImportType": "off",
"noNonNullAssertion": "off"
},
"suspicious": {
"noExplicitAny": "off"
},
"correctness": {
"noUnusedVariables": "error"
},
"complexity": {
"noBannedTypes": "off"
}
}
}
}
]
}