Skip to content

chore: add PostToolUse hook for Rust file formatting and linting#1294

Merged
shm11C3 merged 2 commits into
developfrom
chore/add-claude-settings
Mar 28, 2026
Merged

chore: add PostToolUse hook for Rust file formatting and linting#1294
shm11C3 merged 2 commits into
developfrom
chore/add-claude-settings

Conversation

@shm11C3

@shm11C3 shm11C3 commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Summary

Related Issues

Type of Change

  • Bug fix (fix/ branch)
  • New feature (feat/ branch)
  • Refactoring (refactor/ branch)
  • Documentation (docs/ branch)
  • Dependencies update
  • Other (chore/ branch)

Screenshots / Videos

Test Plan

  • Manual testing
  • Unit tests

Checklist

  • Self-reviewed the code
  • Linting and formatting pass (npm run lint && npm run format / cargo tauri-lint && cargo tauri-fmt)
  • Tests pass (npm test / cargo tauri-test)
  • No new warnings or errors

Copilot AI review requested due to automatic review settings March 28, 2026 05:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds repository-tracked Claude Code hook configuration so Rust edits automatically run formatting and linting, aligning local agent workflows with the project’s Rust quality gates.

Changes:

  • Stop ignoring .claude/ so shared Claude settings can be committed.
  • Add .claude/settings.json with a PostToolUse hook to run cargo fmt + cargo clippy after Write|Edit on .rs files.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
.gitignore Removes .claude ignore entry to allow committing Claude settings.
.claude/settings.json Adds PostToolUse command hook to format/lint Rust after edits.

Comment thread .claude/settings.json Outdated
Comment thread .claude/settings.json Outdated
Copilot AI review requested due to automatic review settings March 28, 2026 05:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.

@shm11C3 shm11C3 merged commit 150edd0 into develop Mar 28, 2026
21 checks passed
@shm11C3 shm11C3 deleted the chore/add-claude-settings branch March 28, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants