clawchain/rivet/biome.json

60 lines
1.2 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"files": {
"ignore": [
"node_modules",
"public",
"dist",
"contracts/cache",
"contracts/out",
"contracts/generated.ts",
"keys.json",
"symbols/generated"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off"
},
"correctness": {
"noUnusedVariables": "error",
"useExhaustiveDependencies": "off"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"useShorthandArrayType": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noAssignInExpressions": "off",
"noConfusingVoidType": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingComma": "all",
"semicolons": "asNeeded"
}
},
"organizeImports": {
"enabled": true
}
}