@marcalexiei/biome-config
Version:
Custom BiomeJS config
38 lines (37 loc) • 1.03 kB
JSON
{
"$schema": "../node_modules/@biomejs/biome/configuration_schema.json",
"linter": {
"rules": {
"complexity": {
"noUselessFragments": "error"
},
"correctness": {
"noVoidElementsWithChildren": "error",
"noReactPropAssignments": "error",
"useHookAtTopLevel": "error",
"useExhaustiveDependencies": "error",
"useJsxKeyInIterable": "error"
},
"nursery": {
"useReactFunctionComponents": "error"
},
"security": {
"noBlankTarget": "error",
"noDangerouslySetInnerHtml": "error",
"noDangerouslySetInnerHtmlWithChildren": "error"
},
"style": {
"noImplicitBoolean": "off",
"useFragmentSyntax": "error",
"useConsistentCurlyBraces": "error"
},
"suspicious": {
"noArrayIndexKey": "error",
"noSparseArray": "error",
"noCommentText": "error",
"noSuspiciousSemicolonInJsx": "error",
"noDuplicateJsxProps": "error"
}
}
}
}