55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"suspicious": {
|
|
"noUnknownAtRules": "off"
|
|
},
|
|
"nursery": {
|
|
"useSortedClasses": "error"
|
|
},
|
|
"style": {
|
|
"noRestrictedImports": {
|
|
"level": "error",
|
|
"options": {
|
|
"patterns": [
|
|
{
|
|
"group": ["../**"],
|
|
"message": "Parent directory imports are not allowed. Use absolute imports instead (e.g., import from '@/...')."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"domains": {
|
|
"next": "recommended",
|
|
"react": "recommended"
|
|
}
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
}
|
|
}
|