Skip to content

Commit

Permalink
feat: add biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Jul 24, 2024
1 parent 9cd5c2f commit a3dd243
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 13 deletions.
34 changes: 34 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"formatter": {
"indentStyle": "tab",
"formatWithErrors": true
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "es5"
},
"globals": ["Bun"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"all": true,
"noNodejsModules": "off"
},
"performance": {
"all": true
},
"security": {
"all": true
}
}
},
"organizeImports": {
"enabled": true
}
}
15 changes: 2 additions & 13 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -984,12 +984,7 @@
"role": {
"type": "string",
"example": "artist",
"enum": [
"artist",
"author",
"composer",
"performer"
]
"enum": ["artist", "author", "composer", "performer"]
},
"normDb": {
"type": "object",
Expand Down Expand Up @@ -1094,13 +1089,7 @@
"properties": {
"type": {
"type": "string",
"enum": [
"cover",
"artist",
"anchor",
"audio",
"video"
],
"enum": ["cover", "artist", "anchor", "audio", "video"],
"example": "cover"
},
"url": {
Expand Down

0 comments on commit a3dd243

Please sign in to comment.