_comuns/Documentos/biome.json
2025-06-30 13:22:14 -03:00

63 lines
1.6 KiB
JSON

{
"root": false,
"$schema": "../node_modules/@biomejs/biome/configuration_schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noDoubleEquals": "off",
"noExplicitAny": "off",
"noDebugger": "off",
"noApproximativeNumericConstant": "off",
"noAsyncPromiseExecutor": "off"
},
"style": {
"noUselessElse": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error"
},
"complexity": {
"noBannedTypes": "off",
"noForEach": "off",
"useLiteralKeys": "off",
"noUselessConstructor": "off",
"useArrowFunction": "off",
"useDateNow":"off"
},
"correctness": {
"noEmptyPattern": "off",
"noUnusedVariables": "error",
"noUnusedImports": "error"
},
"performance": {
"noAccumulatingSpread": "off"
},
"a11y": {
"useSemanticElements": "off"
}
}
},
"formatter": {
"indentWidth": 2,
"indentStyle": "space",
"enabled": true
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"arrowParentheses": "always",
"enabled": true,
"bracketSameLine": false,
"trailingCommas": "all",
"attributePosition": "multiline"
}
}
}