70 lines
1.1 KiB
JSON
70 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": true,
|
|
"includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": {
|
|
"level": "on",
|
|
"options": {
|
|
"groups": [
|
|
":URL:",
|
|
":BLANK_LINE:",
|
|
":PACKAGE:",
|
|
":BLANK_LINE:",
|
|
":ALIAS:",
|
|
":BLANK_LINE:",
|
|
":PATH:"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"nursery": {
|
|
"useSortedClasses": {
|
|
"level": "error",
|
|
"fix": "safe"
|
|
}
|
|
},
|
|
"correctness": {
|
|
"noUnusedImports": {
|
|
"level": "error",
|
|
"fix": "safe"
|
|
}
|
|
},
|
|
"style": {
|
|
"noUnusedTemplateLiteral": "error"
|
|
}
|
|
},
|
|
"domains": {
|
|
"next": "recommended",
|
|
"react": "recommended"
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"trailingCommas": "none"
|
|
}
|
|
}
|
|
}
|