fix: introduce taplo.toml and sort Cargo.toml (#2096)

* fix: add taplo.toml

* fix: introduce taplo.toml & sort cargo.toml

* chore: remove option in ci too
This commit is contained in:
shuiyisong
2023-08-04 14:44:45 +08:00
committed by GitHub
parent 93cd4ab89d
commit 7efff2d704
34 changed files with 114 additions and 79 deletions

View File

@@ -83,11 +83,11 @@ fmt: ## Format all the Rust code.
.PHONY: fmt-toml
fmt-toml: ## Format all TOML files.
taplo format --option "indent_string= "
taplo format
.PHONY: check-toml
check-toml: ## Check all TOML files.
taplo format --check --option "indent_string= "
taplo format --check
.PHONY: docker-image
docker-image: multi-platform-buildx ## Build docker image.