mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-14 22:15:54 +02:00
f04dd2e87e
The latest version of `dprint` doesn't work with our old version of the `exec` plugin. This fixes the config based on https://github.com/dprint/dprint/issues/726.
26 lines
562 B
JSON
26 lines
562 B
JSON
{
|
|
"lineWidth": 80,
|
|
"json": {},
|
|
"markdown": {
|
|
"textWrap": "always"
|
|
},
|
|
"exec": {
|
|
"commands": [{
|
|
"command": "rustfmt --edition 2021",
|
|
"exts": ["rs"]
|
|
}]
|
|
},
|
|
"excludes": [
|
|
"/book/",
|
|
"/src/",
|
|
"/third_party/",
|
|
"target/"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072",
|
|
"https://plugins.dprint.dev/json-0.17.2.wasm",
|
|
"https://plugins.dprint.dev/markdown-0.15.2.wasm",
|
|
"https://plugins.dprint.dev/toml-0.5.4.wasm"
|
|
]
|
|
}
|