Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rustfmt): add settings #504

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

sivizius
Copy link
Contributor

@sivizius sivizius commented Oct 9, 2024

This PR adds additional settings to rustfmt:

  • all: Format all packages, and also their local path-based dependencies,
  • check: Run rustfmt in check mode (Do not format, just check),
  • color: Coloring the output,
  • config: Override configuration values,
  • config-path: Path to rustfmt.toml config file,
  • emit: What data to emit and how,
  • files-with-diff: idk, this cli option exist,
  • manifest-path: Path to Cargo.toml, defaults to settings.rust.cargoManifestPath,
  • message-format: The output format of diagnostic messages,
  • package: Package(s) to check,
  • verbose: Use verbose output,

This change was already part of #434.

@sandydoo sandydoo added the enhancement New feature or request label Oct 10, 2024
modules/hooks.nix Outdated Show resolved Hide resolved
modules/hooks.nix Outdated Show resolved Hide resolved
@sandydoo sandydoo merged commit 6d7586d into cachix:master Oct 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants