Skip to content

Commit

Permalink
add biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Jan 16, 2025
1 parent 0625d92 commit 29a5137
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off",
"noAutofocus": "off"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off",
"noAssignInExpressions": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"useJsxKeyInIterable": "off",
"noChildrenProp": "off"
},
"complexity": {
"noUselessFragments": "off",
"noForEach": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
}
}
},
"files": {
"ignore": [
"dist",
"pnpm-lock.yaml",
".next",
"public",
"./**/.react-email/**/*",
"./**/node_modules/**/*",
"./**/*.d.ts",
"./**/**/prism.ts",
".turbo"
]
}
}

0 comments on commit 29a5137

Please sign in to comment.