← octto
{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 120
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "off"
},
"suspicious": {
"noControlCharactersInRegex": "off"
},
"style": {
"noParameterAssign": "error",
"noDefaultExport": "error",
"noRestrictedImports": {
"level": "error",
"options": {
"patterns": [
{
"group": ["../**"],
"message": "Use @/* path aliases instead of parent-relative imports."
}
]
}
}
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all",
"bracketSpacing": true,
"arrowParentheses": "always"
}
},
"overrides": [
{
"includes": ["*.config.ts", "*.config.js", "src/index.ts"],
"linter": {
"rules": {
"style": {
"noDefaultExport": "off"
}
}
}
},
{
"includes": ["tests/**", "**/*.test.ts"],
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off"
},
"style": {
"noNonNullAssertion": "off",
"noRestrictedImports": "off"
}
}
}
}
],
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
[":BUN:", ":NODE:"],
":BLANK_LINE:",
[":PACKAGE:"],
":BLANK_LINE:",
["@/**"],
":BLANK_LINE:",
":PATH:"
]
}
}
}
}
}
}