-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy path.dprint.jsonc
More file actions
73 lines (69 loc) · 2.08 KB
/
.dprint.jsonc
File metadata and controls
73 lines (69 loc) · 2.08 KB
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
65
66
67
68
69
70
71
72
73
{
"typescript": {
"lineWidth": 80,
"semiColons": "prefer",
"quoteStyle": "alwaysSingle",
"module.sortImportDeclarations": "maintain",
"module.sortExportDeclarations": "maintain",
"exportDeclaration.sortNamedExports": "maintain",
"importDeclaration.sortNamedImports": "maintain",
},
"json": {
"jsonTrailingCommaFiles": [
".vscode/extensions.json",
".vscode/settings.json",
"tsconfig.json",
"tsconfig.build.json",
"tsconfig.node.json",
"api-extractor.json",
],
},
"markdown": {
},
"toml": {
},
"malva": {
},
"markup": {
},
"yaml": {
},
"excludes": [
// Dependencies
"**/node_modules",
"**/*-lock.json",
"pnpm-lock.yaml",
// Outputs
"**/lib/**",
"**/dist/**",
"**/web-tests/output/**",
"**/etc/*.md",
"website/docs/en/api/**",
"website/docs/zh/api/**",
"website/docs/en/changelog/**",
"website/docs/zh/changelog/**",
"packages/web-platform/web-explorer/preinstalled/**",
// The tsconfig.json contains comments that align with indents.
"/tsconfig.json",
// Tests depend on format
"packages/tools/css-serializer/test/__preparation__/**",
"packages/webpack/css-extract-webpack-plugin/test/js/**",
"packages/webpack/css-extract-webpack-plugin/test/rspack-js/**",
"packages/**/test/**/diagnostic/**",
"**/expected/**",
"**/rspack-expected/**",
"packages/**/test/**/hotCases/**",
"packages/web-platform/**/binary/**/*.d.ts",
],
"plugins": [
"https://plugins.dprint.dev/dockerfile-0.3.2.wasm",
"https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf",
"https://plugins.dprint.dev/typescript-0.95.0.wasm",
"https://plugins.dprint.dev/json-0.20.0.wasm",
"https://plugins.dprint.dev/markdown-0.18.0.wasm",
"https://plugins.dprint.dev/toml-0.7.0.wasm",
"https://plugins.dprint.dev/g-plane/malva-v0.12.0.wasm",
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.20.0.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm",
],
}