aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/tmpls/rust-analyzer.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-22 22:57:35 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-22 22:57:56 +0800
commit29009ea248ddf70698cdf90fa36b9bbb89442668 (patch)
tree4b53cd062f1037807bf441677650de4f7a0b302d /mingling_cli/tmpls/rust-analyzer.toml
parentf73b054eaa7c0b858628d2e4ec18ca96376f4c35 (diff)
feat(linter): add `lint-install` subcommand for rust-analyzer setup
Diffstat (limited to 'mingling_cli/tmpls/rust-analyzer.toml')
-rw-r--r--mingling_cli/tmpls/rust-analyzer.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/mingling_cli/tmpls/rust-analyzer.toml b/mingling_cli/tmpls/rust-analyzer.toml
new file mode 100644
index 0000000..96a96b4
--- /dev/null
+++ b/mingling_cli/tmpls/rust-analyzer.toml
@@ -0,0 +1,9 @@
+checkOnSave = true
+
+# Use mling with ra-lint-check for code checking
+#
+# This tool will:
+# 1. first run `cargo check` to perform basic checks on your workspace
+# 2. then run `mling lint` to perform additional checks
+# on the `Mingling` framework code in your workspace
+check.overrideCommand = ["mling", "ra-lint-check"]