mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +03:00
30 lines
828 B
JSON
30 lines
828 B
JSON
{
|
|
"$schema": "https://plugins.dprint.dev/dprint/dprint-plugin-typescript/latest/schema.json",
|
|
"typescript": {
|
|
"indentWidth": 4,
|
|
"lineWidth": 200,
|
|
"useBraces": "preferNone",
|
|
"ifStatement.useBraces": "whenNotSingleLine",
|
|
"singleBodyPosition": "sameLine",
|
|
"trailingCommas": "never",
|
|
"preferSingleLine": true,
|
|
"binaryExpression.linePerExpression": true,
|
|
"memberExpression.linePerExpression": true
|
|
},
|
|
"json": {
|
|
"indentWidth": 4
|
|
},
|
|
"includes": [
|
|
"{esm,cjs,src}/*.{js,mjs,cjs}",
|
|
"**/*.json"
|
|
],
|
|
"excludes": [
|
|
"**/node_modules",
|
|
"**/*-lock.json"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/typescript-0.84.0.wasm",
|
|
"https://plugins.dprint.dev/json-0.17.1.wasm"
|
|
]
|
|
}
|