Last active
June 28, 2023 18:30
-
-
Save trulysinclair/9d02f16b6d343c831861a1dc5ce17364 to your computer and use it in GitHub Desktop.
Dprint Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"typescript": { | |
"ifStatement.useBraces": "preferNone", | |
"newLineKind": "lf", | |
"preferHanging": true, | |
"singleBodyPosition": "nextLine", | |
"useBraces": "preferNone", | |
"bracePosition": "sameLineUnlessHanging", | |
"arrowFunction.useParentheses": "force", | |
"arguments.preferHanging": "always", | |
"parameters.preferHanging": "always" | |
}, | |
"json": { | |
}, | |
"markdown": { | |
}, | |
"toml": { | |
}, | |
"includes": ["./{apps,packages}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,md,toml}", "./*.{ts,js,json,md,toml}"], | |
"excludes": [ | |
"**/node_modules", | |
"**/*-lock.json" | |
], | |
"plugins": [ | |
"https://plugins.dprint.dev/typescript-0.84.4.wasm", | |
"https://plugins.dprint.dev/json-0.17.2.wasm", | |
"https://plugins.dprint.dev/markdown-0.15.2.wasm", | |
"https://plugins.dprint.dev/toml-0.5.4.wasm" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"typescript": { | |
"ifStatement.useBraces": "preferNone", | |
"newLineKind": "lf", | |
"preferHanging": true, | |
"singleBodyPosition": "nextLine", | |
"useBraces": "preferNone", | |
"bracePosition": "sameLineUnlessHanging", | |
"arrowFunction.useParentheses": "force", | |
"arguments.preferHanging": "always", | |
"parameters.preferHanging": "always" | |
}, | |
"json": { | |
}, | |
"markdown": { | |
}, | |
"toml": { | |
}, | |
"includes": ["./{app,src}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,md,toml}", "./*.{ts,js,json,md,toml}"], | |
"excludes": [ | |
"**/node_modules", | |
"**/*-lock.json" | |
], | |
"plugins": [ | |
"https://plugins.dprint.dev/typescript-0.84.4.wasm", | |
"https://plugins.dprint.dev/json-0.17.2.wasm", | |
"https://plugins.dprint.dev/markdown-0.15.2.wasm", | |
"https://plugins.dprint.dev/toml-0.5.4.wasm" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment