Biome 로 테일윈드 클래스 저장시 자동정렬하기
biome.jsonc
- level을 error
- fix를 safe
"nursery": {
"useSortedClasses": {
"level": "error",
"fix": "safe",
"options": {
"attributes": [
"classList"
],
"functions": [
"clsx",
"cva",
"cn"
]
}
}
}
.vscode/settings.json
- editor.codeActionsOnSave에 아래 항목 추가
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.fixAll.biome": "explicit",
"source.organizeImports.biome": "explicit"
}'library' 카테고리의 다른 글
| [250927 TIL] Hasura(v2) + Next.js + Apollo 기본 (0) | 2025.09.27 |
|---|---|
| [250907 TIL] 실전적인 axios client 구성 (0) | 2025.09.07 |
| [250719 TIL] Prisma 마이그레이션 (0) | 2025.07.19 |
| [250719 TIL] Prisma seeding (0) | 2025.07.19 |
| [250719 TIL] Prisma Type 사용관련 (0) | 2025.07.19 |