Skip to content

Commit

Permalink
chore(formatter): add config
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Apr 23, 2024
1 parent ed2b7b7 commit a4ff6b4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"extends": ["./benchmark/biome.json"],
"files": {
"ignore": [".vscode", "scripts"]
}
}
25 changes: 25 additions & 0 deletions dprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://dprint.dev/schemas/v0.json",
"incremental": false,
"json": {
"lineWidth": 80,
"indentWidth": 2,
"useTabs": false,
"newLineKind": "lf",
"commentLine.forceSpaceAfterSlashes": true,
"preferSingleLine": false,
"trailingCommas": "never"
},
"markdown": {
"lineWidth": 80,
"newLineKind": "lf",
"textWrap": "maintain",
"emphasisKind": "underscores",
"strongKind": "asterisks"
},
"excludes": ["**/*-lock.json"],
"plugins": [
"https://plugins.dprint.dev/json-0.19.2.wasm",
"https://plugins.dprint.dev/markdown-0.16.4.wasm"
]
}

0 comments on commit a4ff6b4

Please sign in to comment.