mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-05 03:08:39 +00:00
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4,
|
|
"lineEnding": "lf",
|
|
"attributePosition": "auto",
|
|
"ignore": [
|
|
"./node_modules",
|
|
"**/.vscode/**",
|
|
"*.json",
|
|
"**/dist/**",
|
|
"!biome.json",
|
|
"editors/vscode/out/**"
|
|
]
|
|
},
|
|
"organizeImports": {
|
|
"enabled": false
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"ignore": ["api/node/docs/assets/**", "**/dist/**"],
|
|
"rules": {
|
|
"recommended": false,
|
|
"complexity": {
|
|
"noBannedTypes": "warn",
|
|
"noUselessConstructor": "error"
|
|
},
|
|
"style": {
|
|
"useBlockStatements": "warn",
|
|
"noUselessElse": "off",
|
|
"useConst": "error",
|
|
"useImportType": "error",
|
|
"useNodejsImportProtocol": "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"
|
|
}
|
|
}
|
|
}
|