|
1 | 1 | { |
2 | 2 | "$schema": "https://dprint.dev/schemas/v0.json", |
3 | 3 | "excludes": [ |
| 4 | + "!*.scratch.*", |
4 | 5 | "!scratch.*", |
5 | 6 | "**/*.patch", |
6 | 7 | "**/*.snap", |
|
10 | 11 | ".git/", |
11 | 12 | ".husky/_/", |
12 | 13 | ".yarn/", |
| 14 | + "node_modules/", |
13 | 15 | "yarn.lock" |
14 | 16 | ], |
15 | 17 | "exec": { |
16 | 18 | "commands": [ |
17 | 19 | { |
18 | | - "command": "node --experimental-strip-types --experimental-transform-types ./dprint/prettier.mts {{file_path}}", |
19 | | - "exts": ["css", "html", "json5", "scss", "yaml", "yml"], |
20 | | - "stdin": true |
21 | | - }, |
22 | | - { |
| 20 | + "cacheKeyFiles": ["package.json"], |
23 | 21 | "command": "node --experimental-strip-types --experimental-transform-types ./dprint/remark.mts {{file_path}}", |
24 | 22 | "exts": ["md", "mdx"], |
25 | 23 | "stdin": true |
26 | 24 | }, |
27 | 25 | { |
| 26 | + "cacheKeyFiles": [".editorconfig"], |
28 | 27 | "command": "node --experimental-strip-types --experimental-transform-types ./dprint/shfmt.mts {{file_path}}", |
29 | 28 | "exts": ["sh", "zsh"], |
30 | 29 | "fileNames": [ |
|
61 | 60 | "lineWidth": 80, |
62 | 61 | "newLineKind": "lf", |
63 | 62 | "plugins": [ |
64 | | - "https://plugins.dprint.dev/typescript-0.91.6.wasm", |
65 | | - "https://plugins.dprint.dev/json-0.19.3.wasm", |
66 | | - "https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0" |
| 63 | + "https://plugins.dprint.dev/typescript-0.95.12.wasm", |
| 64 | + "https://plugins.dprint.dev/json-0.21.0.wasm", |
| 65 | + "https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm", |
| 66 | + "https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364" |
67 | 67 | ], |
68 | 68 | "typescript": { |
69 | 69 | "arrowFunction.useParentheses": "preferNone", |
|
129 | 129 | "useBraces": "maintain", |
130 | 130 | "whileStatement.spaceAfterWhileKeyword": true |
131 | 131 | }, |
132 | | - "useTabs": false |
| 132 | + "useTabs": false, |
| 133 | + "yaml": { |
| 134 | + "braceSpacing": false, |
| 135 | + "bracketSpacing": false, |
| 136 | + "flowMap.preferSingleLine": false, |
| 137 | + "flowSequence.preferSingleLine": false, |
| 138 | + "formatComments": true, |
| 139 | + "ignoreCommentDirective": "dprint-ignore", |
| 140 | + "indentBlockSequenceInMap": true, |
| 141 | + "lineBreak": "lf", |
| 142 | + "printWidth": 100, |
| 143 | + "quotes": "preferSingle", |
| 144 | + "trailingComma": false, |
| 145 | + "trimTrailingWhitespaces": true, |
| 146 | + "trimTrailingZero": false |
| 147 | + } |
133 | 148 | } |
0 commit comments