1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-11-28 10:03:09 +02:00
comprehensive-rust/dprint.json
Dustin J. Mitchell ab5e9006ef
Use stable rustfmt (#2168)
This uses the `rustfmt` from the stable toolchain, instead of nightly.
At the moment, nightly's `rustfmt` is nonfunctional, but in general we
don't need bleeding-edge formatting (and in fact, the more often
formatting changes, the more often we'll get spurious failures on PRs,
as we are today).

Fixes #2165.
2024-06-25 09:07:15 +01:00

34 lines
844 B
JSON

{
"lineWidth": 80,
"json": {},
"markdown": {
"textWrap": "always"
},
"exec": {
"commands": [{
"command": "yapf3",
"exts": ["py"]
}, {
"command": "rustup run stable rustfmt --edition 2021",
"exts": ["rs"]
}, {
"command": "msgcat -",
"exts": ["po"]
}]
},
"excludes": [
"/book/",
"/theme/*.hbs",
"/theme/book.js",
"/third_party/",
"target/"
],
"plugins": [
"https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072",
"https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.16.2.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe"
]
}