|
1 | 1 | { |
2 | 2 | "$schema": "https://dprint.dev/schemas/v0.json", |
3 | 3 | "excludes": [ |
4 | | - "!**/__fixtures__/**/dist/", |
5 | | - "!**/__fixtures__/**/node_modules/", |
6 | | - "!**/scratch.*", |
7 | | - "!**/typings/**/dist/", |
| 4 | + "!*.scratch.*", |
| 5 | + "!scratch.*", |
8 | 6 | "**/*.patch", |
9 | 7 | "**/*.snap", |
10 | | - "**/*config.*.timestamp*", |
11 | | - "**/.temp/", |
12 | | - "**/.vercel/", |
13 | | - "**/__fixtures__/git/**/*.txt", |
14 | | - "**/__tests__/benchmark.json", |
15 | | - "**/__tests__/report.json", |
16 | | - "**/__tests__/typecheck.json", |
17 | | - "**/coverage/", |
18 | | - "**/dist/", |
19 | | - "**/node_modules", |
20 | | - "**/tsconfig*temp.json", |
| 8 | + "**/CHANGELOG.md", |
| 9 | + "**/LICENSE.md", |
| 10 | + "**/RELEASE_NOTES.md", |
21 | 11 | ".git/", |
22 | 12 | ".husky/_/", |
23 | 13 | ".yarn/", |
24 | | - "CHANGELOG.md", |
25 | | - "LICENSE.md", |
26 | | - "RELEASE_NOTES.md", |
27 | | - "yarn.lock", |
28 | | - "__fixtures__/markdown/*.md" |
| 14 | + "__fixtures__/markdown/*.md", |
| 15 | + "yarn.lock" |
29 | 16 | ], |
30 | 17 | "exec": { |
31 | 18 | "commands": [ |
32 | 19 | { |
33 | | - "command": "node ./dprint/prettier.mjs {{file_path}}", |
| 20 | + "command": "node --experimental-strip-types --experimental-transform-types ./dprint/prettier.mts {{file_path}}", |
34 | 21 | "exts": ["css", "html", "json5", "scss", "yaml", "yml"], |
35 | 22 | "stdin": true |
36 | 23 | }, |
37 | 24 | { |
38 | | - "command": "node ./dprint/shfmt.mjs {{file_path}}", |
| 25 | + "command": "node --experimental-strip-types --experimental-transform-types ./dprint/remark.mts {{file_path}}", |
| 26 | + "exts": ["md", "mdx"], |
| 27 | + "stdin": true |
| 28 | + }, |
| 29 | + { |
| 30 | + "command": "node --experimental-strip-types --experimental-transform-types ./dprint/shfmt.mts {{file_path}}", |
39 | 31 | "exts": ["sh", "zsh"], |
40 | 32 | "fileNames": [ |
41 | 33 | ".editorconfig", |
|
47 | 39 | ".gitattributes", |
48 | 40 | ".gitconfig", |
49 | 41 | ".gitignore", |
50 | | - ".markdownlintignore", |
51 | 42 | ".npmrc", |
52 | 43 | ".nvmrc", |
53 | 44 | "Brewfile", |
|
57 | 48 | ], |
58 | 49 | "stdin": true |
59 | 50 | } |
60 | | - ] |
| 51 | + ], |
| 52 | + "cwd": "${configDir}" |
61 | 53 | }, |
62 | | - "incremental": true, |
63 | 54 | "indentWidth": 2, |
64 | 55 | "json": { |
65 | 56 | "associations": ["**/*.{jsonc,json}"], |
|
70 | 61 | "trailingCommas": "never" |
71 | 62 | }, |
72 | 63 | "lineWidth": 80, |
73 | | - "markdown": { |
74 | | - "associations": ["**/*.{md,mdx}"], |
75 | | - "emphasisKind": "asterisks", |
76 | | - "ignoreDirective": "dprint-ignore", |
77 | | - "ignoreEndDirective": "dprint-ignore-end", |
78 | | - "ignoreFileDirective": "dprint-ignore-file", |
79 | | - "ignoreStartDirective": "dprint-ignore-start", |
80 | | - "lineWidth": 120, |
81 | | - "strongKind": "asterisks", |
82 | | - "textWrap": "maintain" |
83 | | - }, |
84 | 64 | "newLineKind": "lf", |
85 | 65 | "plugins": [ |
86 | | - "https://plugins.dprint.dev/typescript-0.91.1.wasm", |
87 | | - "https://plugins.dprint.dev/json-0.19.3.wasm", |
88 | | - "https://plugins.dprint.dev/markdown-0.17.1.wasm", |
89 | | - "https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7" |
| 66 | + "https://plugins.dprint.dev/typescript-0.94.0.wasm", |
| 67 | + "https://plugins.dprint.dev/json-0.20.0.wasm", |
| 68 | + "https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf" |
90 | 69 | ], |
91 | 70 | "typescript": { |
92 | 71 | "arrowFunction.useParentheses": "preferNone", |
|
0 commit comments