clawchain/viem/biome.json

83 lines
1.9 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"includes": [
"**",
"!**/_cjs",
"!**/_esm",
"!**/_types",
"!**/.cache",
"!**/.next",
"!**/.svelte-kit",
"!**/.vercel",
"!**/node_modules",
"!**/CHANGELOG.md",
"!**/bun.lockb",
"!**/cache",
"!**/contracts",
"!**/test/kzg/**/*.json",
"!**/test/kzg/**/*.txt",
"!**/test/tempo/**/*",
"!**/coverage",
"!**/tsconfig.json",
"!**/tsconfig.*.json",
"!**/generated.ts",
"!**/vectors/**/*.json",
"!**/vectors/**/*.test.ts",
"!**/wagmi",
"!**/site/dist"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useButtonType": "off"
},
"complexity": {
"noBannedTypes": "off"
},
"correctness": {
"noUnusedVariables": "error"
},
"performance": {
"noBarrelFile": "error",
"noReExportAll": "off",
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"useConsistentArrayType": {
"level": "error",
"options": { "syntax": "shorthand" }
}
},
"suspicious": {
"noArrayIndexKey": "off",
"noAssignInExpressions": "off",
"noConfusingVoidType": "off",
"noExplicitAny": "off",
"noRedeclare": "off",
"noConsole": { "level": "error", "options": { "allow": ["log"] } },
"noUnknownAtRules": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "all",
"semicolons": "asNeeded"
}
},
"assist": { "actions": { "source": { "organizeImports": "on" } } }
}