setup-cpp/biome.jsonc

55 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-08-07 14:44:32 +08:00
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": [
"**/node_modules/**",
"**/.pnpm-store/**",
"**/dist/**",
"dev/cpp_vcpkg_project/**/*",
"**/.venv/",
"**/.*cache/",
"**/coverage/"
],
"ignoreUnknown": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noInferrableTypes": "off",
"noUselessElse": "off",
"noNonNullAssertion": "off",
"useNodejsImportProtocol": "off"
},
"complexity": {
"useLiteralKeys": "off"
},
"suspicious": {
"noConfusingVoidType": "off"
},
"nursery": {
"useImportExtensions": "warn"
}
}
},
"formatter": {
"enabled": false,
"indentWidth": 4,
"indentStyle": "space"
},
"json": {
2024-08-07 14:44:32 +08:00
"formatter": {
"enabled": false,
"trailingCommas": "none"
2024-08-07 14:44:32 +08:00
},
"parser": {
"allowComments": true,
"allowTrailingCommas": true
2024-08-07 14:44:32 +08:00
}
}
2024-08-07 14:44:32 +08:00
}