mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-05 03:08:39 +00:00
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4,
|
|
"lineEnding": "lf",
|
|
"attributePosition": "auto",
|
|
"includes": [
|
|
"**",
|
|
"!**/.vscode/**",
|
|
"!**/*.json",
|
|
"!**/dist/**",
|
|
"!**/build/**",
|
|
"!**/!biome.json",
|
|
"!**/editors/vscode/out/**"
|
|
]
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "off"
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"includes": ["**", "!**/dist/**"],
|
|
"rules": {
|
|
"recommended": false,
|
|
"complexity": {
|
|
"noBannedTypes": "warn",
|
|
"noUselessConstructor": "error"
|
|
},
|
|
"style": {
|
|
"useBlockStatements": "warn",
|
|
"noUselessElse": "off",
|
|
"useConst": "error",
|
|
"useImportType": "error",
|
|
"useNodejsImportProtocol": "error"
|
|
},
|
|
"nursery": {
|
|
"noFloatingPromises": "error"
|
|
},
|
|
"suspicious": {
|
|
"noDoubleEquals": "error",
|
|
"noRedundantUseStrict": "warn",
|
|
"noImplicitAnyLet": "error",
|
|
"useAwait": "error"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"jsxQuoteStyle": "double",
|
|
"quoteProperties": "asNeeded",
|
|
"semicolons": "always",
|
|
"bracketSpacing": true,
|
|
"bracketSameLine": false,
|
|
"quoteStyle": "double",
|
|
"attributePosition": "auto"
|
|
}
|
|
}
|
|
}
|