80 lines
1.4 KiB
JSON
80 lines
1.4 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"root": true,
|
|
"vcs": {
|
|
"enabled": true,
|
|
"useIgnoreFile": true,
|
|
"clientKind": "git"
|
|
},
|
|
"files": {
|
|
"includes": ["**", "!!node_modules", "!!generated"]
|
|
},
|
|
"assist": {
|
|
"enabled": true,
|
|
"actions": {
|
|
"recommended": true,
|
|
"source": {
|
|
"recommended": true,
|
|
"organizeImports": "on",
|
|
"useSortedAttributes": "on"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 140
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"nursery": {
|
|
"useSortedClasses": {
|
|
"level": "warn",
|
|
"fix": "safe",
|
|
"options": {
|
|
"attributes": ["className", "class"],
|
|
"functions": ["clsx", "twMerge", "cn"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"html": {
|
|
"formatter": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"javascript": {
|
|
"assist": {
|
|
"enabled": true
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"arrowParentheses": "always",
|
|
"semicolons": "always",
|
|
"trailingCommas": "all"
|
|
},
|
|
"linter": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"css": {
|
|
"assist": {
|
|
"enabled": true
|
|
},
|
|
"formatter": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true
|
|
},
|
|
"parser": {
|
|
"cssModules": true,
|
|
"tailwindDirectives": true
|
|
}
|
|
}
|
|
}
|