mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
a13a78e3fe
**BREAKING CHANGE:** Breaking changes for `@swc/helpers`. A new major version `0.5.0` is required. **Related issue:** - Closes https://github.com/swc-project/swc/issues/7157
30 lines
820 B
JSON
30 lines
820 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}/*.{js,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"
|
|
]
|
|
}
|