Files
resend__react-email/biome.json
T
Gabriel Miranda 41aeddc0dd chore(root): update biome to v2 (#2311)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mendy Landa <54242706+MendyLanda@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kaylee <65376239+KayleeWilliams@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bu Kinoshita <6929565+bukinoshita@users.noreply.github.com>
Co-authored-by: Pedro Almeida <pedroalmeidaprogrammer@gmail.com>
2025-07-03 13:29:42 -03:00

101 lines
2.4 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"style": {
"noNonNullAssertion": "off",
"useLiteralEnumMembers": "error",
"useNodejsImportProtocol": "error",
"useAsConstAssertion": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useConst": "error",
"useSingleVarDeclarator": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"useExponentiationOperator": "error",
"useTemplate": "error",
"noParameterAssign": "error",
"useDefaultParameterLast": "error",
"useImportType": "error",
"useExportType": "error",
"noUselessElse": "error",
"useShorthandFunctionType": "error"
},
"performance": {
"noAccumulatingSpread": "off",
"noDelete": "off"
},
"a11y": {
"noStaticElementInteractions": "off",
"noSvgWithoutTitle": "off",
"noAutofocus": "off"
},
"correctness": {
"noUnusedImports": "warn",
"useExhaustiveDependencies": "off",
"useJsxKeyInIterable": "off",
"noChildrenProp": "off"
},
"nursery": {
"useSortedClasses": "off"
},
"complexity": {
"useNumericLiterals": "error",
"noUselessFragments": "off",
"noForEach": "off",
"noCommaOperator": "error",
"noArguments": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off",
"noAssignInExpressions": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
}
}
},
"files": {
"includes": [
"**",
"!**/dist",
"!**/pnpm-lock.yaml",
"!**/.next",
"!**/public",
"!packages/preview-server/src/actions/email-validation/caniemail-data.ts",
"!**/.react-email/**/*",
"!**/node_modules/**/*",
"!**/*.d.ts",
"!**/out",
"!**/.turbo",
"!**/prism.ts"
]
}
}