mirror of
https://github.com/swc-project/swc.git
synced 2024-11-25 05:25:29 +03:00
24 lines
784 B
JSON
24 lines
784 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"
|
|
]
|
|
}
|