1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
bdc9a010ee Don't format JS with djlint 2023-09-14 23:22:11 +02:00
6a7d9f424f Update dprint plugins 2023-09-14 23:21:57 +02:00
d603765079 Add Cargo config 2023-09-14 23:21:38 +02:00
3 changed files with 16 additions and 3 deletions

13
.cargo/config.toml Normal file
View file

@ -0,0 +1,13 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]
[build]
rustflags = [
"-C",
"target-cpu=native",
]
[profile.release]
lto = true
codegen-units = 1

View file

@ -4,6 +4,6 @@
"max_line_length": "120", "max_line_length": "120",
"use_gitignore": true, "use_gitignore": true,
"preserve_blank_lines": true, "preserve_blank_lines": true,
"format_js": true, "format_js": false,
"format_css": true "format_css": true
} }

View file

@ -13,9 +13,9 @@
"**/*-lock.json" "**/*-lock.json"
], ],
"plugins": [ "plugins": [
"https://plugins.dprint.dev/typescript-0.86.2.wasm", "https://plugins.dprint.dev/typescript-0.87.1.wasm",
"https://plugins.dprint.dev/json-0.17.4.wasm", "https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.16.0.wasm", "https://plugins.dprint.dev/markdown-0.16.1.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm" "https://plugins.dprint.dev/toml-0.5.4.wasm"
] ]
} }