mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 12:48:38 +00:00
chore: add dprint
This commit is contained in:
parent
2fb8c202e6
commit
be63a2cafc
2 changed files with 25 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
~
|
||||
target/
|
||||
**/*.rs.bk
|
||||
|
||||
|
|
|
|||
24
dprint.json
Normal file
24
dprint.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"lineWidth": 120,
|
||||
"typescript": {
|
||||
"quoteStyle": "preferSingle",
|
||||
"binaryExpression.operatorPosition": "sameLine"
|
||||
},
|
||||
"json": {
|
||||
"indentWidth": 2
|
||||
},
|
||||
"excludes": [
|
||||
"tasks/coverage/misc",
|
||||
"**/tests/**",
|
||||
"**/fixtures/**",
|
||||
"**/*.snap",
|
||||
"**/*.snap.*",
|
||||
"**/CHANGELOG.md",
|
||||
"~"
|
||||
],
|
||||
"plugins": [
|
||||
"https://plugins.dprint.dev/typescript-0.91.8.wasm",
|
||||
"https://plugins.dprint.dev/json-0.19.3.wasm",
|
||||
"https://plugins.dprint.dev/markdown-0.17.8.wasm"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue