This repository has been archived by the owner on Jul 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdprint.json
64 lines (64 loc) · 1.68 KB
/
dprint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// dprint config update
// dprint check
// https://github.com/sane-fmt/sane-fmt/blob/master/exports/sane-fmt.typescript.json
{
"$schema": "https://dprint.dev/schemas/v0.json",
"incremental": true,
"lineWidth": 120,
"newLineKind": "lf",
"typescript": {
"indentWidth": 2,
"useTabs": true,
"quoteStyle": "alwaysSingle",
"semiColons": "asi",
"useBraces": "whenNotSingleLine",
"tryStatement.nextControlFlowPosition": "sameLine",
"nextControlFlowPosition": "nextLine",
"arrowFunction.useParentheses": "preferNone",
"singleBodyPosition": "nextLine",
"preferHanging": true,
"arguments.trailingCommas": "never",
"parameters.trailingCommas": "never"
},
"json": {
"locked": true,
"indentWidth": 2,
"useTabs": false,
"commentLine.forceSpaceAfterSlashes": true,
"ignoreNodeCommentText": "dprint-ignore",
"associations": [
"**/*.avsc"
]
},
"toml": {},
"markdown": {},
"css": {},
"dockerfile": {},
"includes": [
"**/*.{ts,tsx,js,jsx,cjs,mjs,json,avsc,toml,md,html,css,scss,pcss,svelte,svx}",
"**/Dockerfile"
],
"excludes": [
".git",
".svelte-kit",
".vercel",
"**/node_modules",
"**/*-lock.json",
"**/*-lock.yaml",
"build",
"config/_csp-policy.js",
"coverage",
"functions",
"static",
"CHANGELOG.md",
"$types.d.ts"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.80.2.wasm",
"https://plugins.dprint.dev/json-0.17.0.wasm",
"https://plugins.dprint.dev/markdown-0.15.2.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",
"https://plugins.dprint.dev/dockerfile-0.3.0.wasm",
"https://plugins.dprint.dev/disrupted/css-0.1.3.wasm"
]
}