Skip to content

Commit

Permalink
added more config options to biome.json
Browse files Browse the repository at this point in the history
  • Loading branch information
colodenn committed Sep 30, 2024
1 parent 7b44dfa commit 56d7bf3
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"files": {
"include": ["./**/*.ts", "./**/*.tsx", "./**/*.json"],
"ignore": ["dist/", "node_modules/"]
},
"organizeImports": {
"enabled": true
"formatter": {
"enabled": true,
"attributePosition": "multiline",
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 90
},
"javascript": {
"formatter": {
Expand All @@ -20,24 +25,16 @@
"semicolons": "always"
}
},

"formatter": {
"enabled": true,
"attributePosition": "multiline",
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 90
},

"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedImports": "warn",
"noUnusedVariables": "warn"
}
"correctness": { "noUnusedImports": "warn", "noUnusedVariables": "warn" }
}
},
"vcs": {
"clientKind": "git",
"defaultBranch": "main",
"enabled": true
}
}

0 comments on commit 56d7bf3

Please sign in to comment.