This commit is contained in:
Luiz Silva 2025-08-08 10:06:17 -03:00
parent 2d15095bd6
commit 4ef243bcad
7 changed files with 55 additions and 63 deletions

View file

@ -1,19 +1,17 @@
{
"root": false,
"$schema": "../node_modules/@biomejs/biome/configuration_schema.json",
"root": false,
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noDoubleEquals": "off",
"noExplicitAny": "off",
"noDebugger": "off",
"noApproximativeNumericConstant": "off",
"noAsyncPromiseExecutor": "off"
"correctness": {
"noUnusedVariables": "error",
"noUnusedImports": "error",
"noEmptyPattern": "error",
"useExhaustiveDependencies": "off"
},
"style": {
"noUselessElse": "off",
"noParameterAssign": "error",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
@ -24,25 +22,21 @@
"useNumberNamespace": "error",
"noInferrableTypes": "error"
},
"complexity": {
"noBannedTypes": "off",
"noForEach": "off",
"useLiteralKeys": "off",
"noUselessConstructor": "off",
"useArrowFunction": "off",
"useDateNow":"off",
"noUselessFragments":"off"
"suspicious": {
"noDebugger": "error",
"noDoubleEquals": "off",
"noExplicitAny": "off",
"noApproximativeNumericConstant": "warn",
"noAsyncPromiseExecutor": "warn"
},
"correctness": {
"noEmptyPattern": "off",
"noUnusedVariables": "error",
"noUnusedImports": "off",
"useExhaustiveDependencies":"off"
"complexity": {
"noUselessConstructor": "error",
"noBannedTypes": "warn",
"useArrowFunction": "warn",
"useDateNow": "off"
},
"performance": {
"noAccumulatingSpread": "off"
"noAccumulatingSpread": "warn"
},
"a11y": {
"useSemanticElements": "off"
@ -50,15 +44,15 @@
}
},
"formatter": {
"indentWidth": 2,
"enabled": true,
"indentStyle": "space",
"enabled": true
"indentWidth": 2
},
"javascript": {
"formatter": {
"enabled": true,
"semicolons": "asNeeded",
"arrowParentheses": "always",
"enabled": true,
"bracketSameLine": false,
"trailingCommas": "all",
"attributePosition": "multiline"