Files
resend__react-email/biome.json
T
2026-04-15 12:48:39 -03:00

107 lines
2.5 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": false
},
"formatter": {
"lineEnding": "auto",
"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": {
"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",
"noUnknownAtRules": "off",
"noAssignInExpressions": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
}
}
},
"files": {
"includes": [
"**",
"!**/dist",
"!**/pnpm-lock.yaml",
"!**/.next",
"!**/public",
"!packages/ui/src/actions/email-validation/caniemail-data.ts",
"!**/.react-email/**/*",
"!**/node_modules/**/*",
"!**/*.d.ts",
"!**/out",
"!**/.turbo",
"!**/prism.ts"
]
}
}