podman-desktop/biome.jsonc
Florent Benoit fba3f6037e chore: introduce inversify library
also update tsconfig files to be able to use decorators/annotations
and update biome configuration to accept decorators

related to https://github.com/podman-desktop/podman-desktop/issues/12640

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2025-06-26 14:08:33 +02:00

66 lines
1.6 KiB
Text

{
"formatter": {
"indentStyle": "space",
"lineWidth": 120,
"attributePosition": "auto"
},
"files": {
"maxSize": 1600000,
"includes": [
"**",
"!**/builtin/**/*.cdix/**",
"!**/coverage/**",
"!**/dist/**",
"!**/output/**",
"!**/packages/ui/.svelte-kit/**",
"!**/exposedIn*.d.ts",
"!**/website/.docusaurus/**",
"!**/website/api/**",
"!**/website/build/**",
"!**/website/src/pages/storybook/sidebar.cjs",
"!**/website/static/release-notes/**",
"!**/website-argos/screenshots/**",
"!**/storybook/.storybook/themes.css",
"!**/storybook/storybook-static/**"
]
},
"javascript": {
"parser": {
"unsafeParameterDecoratorsEnabled": true
},
"formatter": {
"arrowParentheses": "asNeeded",
"bracketSameLine": true,
"attributePosition": "auto",
"quoteStyle": "single"
}
},
"json": {
"formatter": {
"indentWidth": 2
}
},
"css": {
"formatter": {
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"style": {
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
}
}
},
"assist": { "actions": { "source": { "organizeImports": "off" } } }
}