Skip to content

Commit

Permalink
chore(biome): use editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Sep 13, 2024
1 parent e7b456c commit 9075b78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
indent_style = tab
indent_size = 4
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
Expand Down
15 changes: 8 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto"
"lineWidth": 80
},
"organizeImports": { "enabled": true },
"linter": {
Expand Down Expand Up @@ -99,8 +96,12 @@
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto"
"quoteStyle": "single"
}
},
"css": {
"formatter": {
"quoteStyle": "single"
}
},
"overrides": [
Expand Down

0 comments on commit 9075b78

Please sign in to comment.