@suin/biome.json
Version:
Opinionated Biome configuration extending ultracite with additional rules
48 lines • 1.2 kB
JSON
{
"root": false,
"$schema": "../node_modules/@biomejs/biome/configuration_schema.json",
"linter": {
"rules": {
"correctness": {
"noChildrenProp": "warn",
"noNestedComponentDefinitions": "warn",
"noReactPropAssignments": "warn",
"noRenderReturnValue": "warn",
"noVoidElementsWithChildren": "warn",
"useExhaustiveDependencies": "warn",
"useHookAtTopLevel": "warn",
"useJsxKeyInIterable": "warn",
"noUndeclaredVariables": "off"
},
"nursery": {
"noReactForwardRef": "warn"
},
"suspicious": {
"noArrayIndexKey": "warn",
"noDuplicateJsxProps": "warn",
"noSuspiciousSemicolonInJsx": "warn",
"noReactSpecificProps": "off"
},
"style": {
"useReactFunctionComponents": "warn",
"useConsistentArrayType": {
"level": "warn",
"options": {
"syntax": "generic"
}
}
},
"complexity": {
"useLiteralKeys": "off"
},
"performance": {
"useTopLevelRegex": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}