-
Notifications
You must be signed in to change notification settings - Fork 101
/
.dprint.jsonc
73 lines (73 loc) 路 2.82 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
72
73
{
"lineWidth": 80,
"useTabs": false,
"indentWidth": 2,
"typescript": {
// See: https://github.com/dprint/dprint-plugin-typescript/blob/main/src/configuration/types.rs
"arrayExpression.preferSingleLine": true,
"arrowFunction.useParentheses": "force",
"binaryExpression.operatorPosition": "maintain",
"conditionalExpression.operatorPosition": "maintain",
"conditionalType.operatorPosition": "maintain",
"exportDeclaration.sortNamedExports": "caseSensitive",
"exportDeclaration.spaceSurroundingNamedExports": false,
"forInStatement.useBraces": "always",
"forOfStatement.useBraces": "always",
"forStatement.useBraces": "always",
"functionExpression.spaceAfterFunctionKeyword": true,
"ifStatement.useBraces": "always",
"importDeclaration.sortNamedImports": "caseSensitive",
"importDeclaration.spaceSurroundingNamedImports": false,
"module.sortExportDeclarations": "caseSensitive",
"module.sortImportDeclarations": "caseSensitive",
"spaceSurroundingProperties": false,
"quoteStyle": "preferSingle",
"quoteProps": "consistent",
"whileStatement.useBraces": "always"
},
"json": {
// See: https://github.com/dprint/dprint-plugin-json/blob/main/src/configuration/configuration.rs
},
"markdown": {
// See: https://github.com/dprint/dprint-plugin-markdown/blob/main/src/configuration/types.rs
},
"excludes": [
"/aspects/dotfiles/files/.config/Raycast/extensions",
"/aspects/dotfiles/files/.config/git/handles.json",
"/aspects/dotfiles/files/.config/screenkey.json",
"/aspects/dotfiles/files/.zsh/skim",
"/aspects/dotfiles/files/.zsh/zsh-async",
"/aspects/dotfiles/files/.zsh/zsh-autosuggestions",
"/aspects/dotfiles/files/.zsh/zsh-history-substring-search",
"/aspects/dotfiles/files/.zsh/zsh-syntax-highlighting",
"/aspects/interception/support/mac2linux/CMakeFiles",
"/aspects/nvim/files/.config/nvim/backup",
"/aspects/nvim/files/.config/nvim/pack",
"/aspects/nvim/files/.config/nvim/swap",
"/aspects/nvim/files/.config/nvim/undo",
"/aspects/nvim/files/.config/nvim/view",
"/aspects/nvim/files/.vim/backup",
"/aspects/nvim/files/.vim/pack",
"/aspects/nvim/files/.vim/swap",
"/aspects/nvim/files/.vim/undo",
"/aspects/nvim/files/.vim/view",
"/fig/types",
"/lib",
"/media",
"/node_modules",
"/python",
"/vendor",
"tsconfig-base.json"
],
"includes": [
"**/*.{js,json,md,ts}"
],
// Update with: `dprint config update`.
"plugins": [
"https://plugins.dprint.dev/typescript-0.89.1.wasm",
"https://plugins.dprint.dev/json-0.19.1.wasm",
"https://plugins.dprint.dev/markdown-0.16.3.wasm",
"https://plugins.dprint.dev/toml-0.6.0.wasm",
"https://plugins.dprint.dev/prettier-0.38.1.json@ae9b60b1ca7e22223cb47325b3d42c681444b46863d28ed92edc426f8a177e58"
]
}