mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
d5634164cb
Closes https://github.com/denoland/deno/issues/2699 Closes https://github.com/denoland/deno/issues/2347 Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not need to switch the cargo toolchain to nightly. Do we care about formatting stability of our codebase across Rust versions? (I don't)
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"incremental": true,
|
|
"typescript": {
|
|
"deno": true
|
|
},
|
|
"markdown": {
|
|
"deno": true
|
|
},
|
|
"json": {
|
|
"deno": true
|
|
},
|
|
"exec": {
|
|
"associations": "**/*.rs",
|
|
"rustfmt": "rustfmt --config imports_granularity=item"
|
|
},
|
|
"includes": [
|
|
"**/*.{ts,tsx,js,jsx,json,md,toml,rs}"
|
|
],
|
|
"excludes": [
|
|
".cargo_home",
|
|
".git",
|
|
"cli/bench/testdata/express-router.js",
|
|
"cli/bench/testdata/npm/*",
|
|
"cli/tsc/dts/*.d.ts",
|
|
"cli/tests/testdata/fmt/badly_formatted.json",
|
|
"cli/tests/testdata/fmt/badly_formatted.md",
|
|
"cli/tests/testdata/byte_order_mark.ts",
|
|
"cli/tests/testdata/encoding",
|
|
"cli/tests/testdata/fmt/*",
|
|
"cli/tests/testdata/import_assertions/json_with_shebang.json",
|
|
"cli/tests/testdata/run/inline_js_source_map*",
|
|
"cli/tests/testdata/malformed_config/*",
|
|
"cli/tests/testdata/npm/registry/",
|
|
"cli/tests/testdata/test/markdown_windows.md",
|
|
"cli/tsc/*typescript.js",
|
|
"gh-pages",
|
|
"target",
|
|
"test_ffi/tests/test.js",
|
|
"test_util/std",
|
|
"test_util/wpt",
|
|
"third_party",
|
|
"tools/wpt/expectation.json",
|
|
"tools/wpt/manifest.json"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/typescript-0.80.2.wasm",
|
|
"https://plugins.dprint.dev/json-0.17.0.wasm",
|
|
"https://plugins.dprint.dev/markdown-0.15.2.wasm",
|
|
"https://plugins.dprint.dev/toml-0.5.4.wasm",
|
|
"https://plugins.dprint.dev/exec-0.3.5.json@d687dda57be0fe9a0088ccdaefa5147649ff24127d8b3ea227536c68ee7abeab"
|
|
]
|
|
}
|