Files
dokploy/biome.json
T

62 lines
1.5 KiB
JSON
Raw Normal View History

2024-04-28 23:57:52 -06:00
{
2024-07-15 01:02:18 +02:00
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
2025-07-14 15:30:22 +09:00
"includes": [
"**",
"!**/.docker",
"!**/.next/**",
"!**/dist",
"!**/drizzle/**",
"!node_modules/**",
"!packages/server/package.json"
2024-10-26 16:17:20 -06:00
]
2024-07-15 01:02:18 +02:00
},
2025-07-14 15:30:22 +09:00
"assist": { "actions": { "source": { "organizeImports": "on" } } },
2024-07-15 01:02:18 +02:00
"linter": {
"rules": {
2024-09-05 11:21:54 -06:00
"security": {
"noDangerouslySetInnerHtml": "off"
},
2024-07-15 01:02:18 +02:00
"complexity": {
"noUselessCatch": "off",
"noBannedTypes": "off",
"noUselessFragments": "off"
2024-07-15 01:02:18 +02:00
},
"correctness": {
"useExhaustiveDependencies": "off",
"noUnsafeOptionalChaining": "off",
"noUnusedImports": "error",
"noUnusedFunctionParameters": "error",
"noUnusedVariables": "off",
"useHookAtTopLevel": "off"
2024-07-15 01:02:18 +02:00
},
"style": {
2025-07-14 15:30:22 +09:00
"noNonNullAssertion": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error"
2024-07-15 01:02:18 +02:00
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off",
"noRedeclare": "off",
"noTemplateCurlyInString": "off"
2024-07-15 01:02:18 +02:00
},
"a11y": {
"noSvgWithoutTitle": "off",
"useKeyWithClickEvents": "off",
"useAriaPropsForRole": "off",
"useAriaPropsSupportedByRole": "off",
"noStaticElementInteractions": "off"
2024-07-15 01:02:18 +02:00
}
}
}
}