forked from zwave-js/node-zwave-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dprint.jsonc
71 lines (64 loc) · 1.74 KB
/
.dprint.jsonc
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
{
"lineWidth": 80,
"useTabs": true,
"indentWidth": 4,
"newLineKind": "lf",
"typescript": {
"semiColons": "prefer",
"quoteStyle": "alwaysDouble",
"module.sortImportDeclarations": "caseSensitive",
"importDeclaration.sortNamedImports": "caseSensitive",
"module.sortExportDeclarations": "caseSensitive",
"exportDeclaration.sortNamedExports": "caseSensitive",
"arrowFunction.useParentheses": "force",
// Preserve maximum overlap with the current formatter,
// then consider turning these off one by one.
// "operatorPosition": "sameLine",
"conditionalExpression.operatorPosition": "nextLine",
"conditionalType.operatorPosition": "nextLine",
"constructorType.spaceAfterNewKeyword": true,
"constructSignature.spaceAfterNewKeyword": true,
"binaryExpression.linePerExpression": true,
"quoteProps": "asNeeded"
},
"json": {},
"markdown": {},
"prettier": {
"associations": [
// Prettier formats those better
"package.json",
"**/package.json",
"packages/nvmedit/test/fixtures/**/*.json",
"**/*.yml",
"**/*.yaml"
],
"semi": true,
"trailingComma": "all",
"singleQuote": false,
"printWidth": 80,
"endOfLine": "lf",
"yml.useTabs": false,
"yml.tabWidth": 2,
"yml.singleQuote": true
},
"excludes": [
"**/build",
"**/node_modules",
"**/package.json",
"**/*-lock.json",
".github/workflows",
".yarn/plugins",
".yarn/releases",
".tmp/",
"cache/",
"packages/*/api.md",
"CHANGELOG*.md",
".yarnrc.yml"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.87.1.wasm",
"https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.16.0.wasm",
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe"
]
}