ajuste no biome

This commit is contained in:
Luiz Silva 2025-06-30 12:39:02 -03:00
parent fa33b5c23f
commit eb88195f6a
14 changed files with 93 additions and 78 deletions

View file

@ -1,11 +1,8 @@
{
"root": false,
"$schema": "../node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
@ -16,7 +13,16 @@
"noAsyncPromiseExecutor": "off"
},
"style": {
"noUselessElse": "off"
"noUselessElse": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error"
},
"complexity": {
"noBannedTypes": "off",