* wip * wip * wip * wip * wip * add buffer * wip * wip * fixes * fix * wip * group validation * fix group issues * docs: add groups
97 lines
2.3 KiB
JSON
97 lines
2.3 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": {
|
|
"level": "on",
|
|
"options": {
|
|
"groups": [
|
|
":BUN:",
|
|
":NODE:",
|
|
[
|
|
"npm:*",
|
|
"npm:*/**"
|
|
],
|
|
":PACKAGE_WITH_PROTOCOL:",
|
|
":URL:",
|
|
":PACKAGE:",
|
|
[
|
|
"/**"
|
|
],
|
|
[
|
|
"#*",
|
|
"#*/**"
|
|
],
|
|
":PATH:"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off",
|
|
"useAltText": "off",
|
|
"noLabelWithoutControl": "off",
|
|
"useFocusableInteractive": "off",
|
|
"useSemanticElements": "off"
|
|
},
|
|
"style": {
|
|
"noNestedTernary": "off",
|
|
"noNonNullAssertion": "off",
|
|
"noParameterAssign": "error",
|
|
"useAsConstAssertion": "error",
|
|
"useDefaultParameterLast": "error",
|
|
"useEnumInitializers": "error",
|
|
"useSelfClosingElements": "error",
|
|
"useSingleVarDeclarator": "error",
|
|
"noUnusedTemplateLiteral": "error",
|
|
"useNumberNamespace": "error",
|
|
"noInferrableTypes": "error",
|
|
"noUselessElse": "error",
|
|
"noNestedTernary": "off",
|
|
"useDefaultSwitchClause": "off"
|
|
},
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off",
|
|
"noUnreachable": "off"
|
|
},
|
|
"performance": {
|
|
"noDelete": "off",
|
|
"noAccumulatingSpread": "off",
|
|
"noBarrelFile": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noShadowRestrictedNames": "off"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
},
|
|
"complexity": {
|
|
"noForEach": "off",
|
|
"noExcessiveCognitiveComplexity": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 2
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single"
|
|
}
|
|
},
|
|
"extends": [
|
|
"ultracite/biome/core",
|
|
"ultracite/biome/react",
|
|
"ultracite/biome/next",
|
|
"ultracite/biome/remix"
|
|
]
|
|
} |