mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 04:19:57 -06:00
86 lines
1.9 KiB
JSON
86 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"vcs": {
|
|
"enabled": false,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": false
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"ignore": [
|
|
".next",
|
|
"build"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"useEditorconfig": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineEnding": "lf",
|
|
"lineWidth": 80,
|
|
"attributePosition": "auto",
|
|
"bracketSpacing": true
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"useSelfClosingElements": "warn",
|
|
"noUnusedTemplateLiteral": "warn",
|
|
"noNonNullAssertion": "off"
|
|
},
|
|
"a11y": {
|
|
"useMediaCaption": "off",
|
|
"useKeyWithClickEvents": "warn",
|
|
"useKeyWithMouseEvents": "warn",
|
|
"noSvgWithoutTitle": "off",
|
|
"useButtonType": "warn",
|
|
"noAutofocus": "off"
|
|
},
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": "warn",
|
|
"noUnusedFunctionParameters": "warn",
|
|
"noUnusedImports": "warn"
|
|
},
|
|
"complexity": {
|
|
"useOptionalChain": "info"
|
|
},
|
|
"nursery": {
|
|
"useSortedClasses": {
|
|
"level": "warn",
|
|
"fix": "safe",
|
|
"options": {
|
|
"attributes": [
|
|
"className"
|
|
],
|
|
"functions": [
|
|
"cn"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"jsxQuoteStyle": "double",
|
|
"quoteProperties": "asNeeded",
|
|
"trailingCommas": "es5",
|
|
"semicolons": "always",
|
|
"arrowParentheses": "always",
|
|
"bracketSameLine": false,
|
|
"quoteStyle": "single",
|
|
"attributePosition": "auto",
|
|
"bracketSpacing": true
|
|
}
|
|
}
|
|
} |