Skip to content

style: fix clippy::enum_variant_names#227

Merged
Brooooooklyn merged 1 commit intomainfrom
fix/clippy-enum-variant-names
Oct 15, 2025
Merged

style: fix clippy::enum_variant_names#227
Brooooooklyn merged 1 commit intomainfrom
fix/clippy-enum-variant-names

Conversation

@Brooooooklyn
Copy link
Copy Markdown
Member

Rename Error enum variants to remove redundant 'Error' suffix:

  • BincodeEncodeError -> BincodeEncode
  • BincodeDecodeError -> BincodeDecode
  • NixError -> Nix
  • SerdeError -> Serde
  • WaxBuildError -> WaxBuild
  • WaxWalkError -> WaxWalk
  • CycleDependenciesError -> CycleDependencies
  • SerdeYmlError -> SerdeYml
  • ViteError -> Vite
  • StripPathError -> StripPath
  • SemverError -> Semver
  • ReqwestError -> Reqwest
  • AnyhowError -> Anyhow
  • SqliteError -> Sqlite

Also updated all usages in:

  • packages/cli/binding/src/lib.rs
  • crates/vite_package_manager/src/package_manager.rs
  • crates/vite_task/src/schedule.rs

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Copy link
Copy Markdown
Member Author

Brooooooklyn commented Oct 15, 2025

Copy link
Copy Markdown
Member Author

Brooooooklyn commented Oct 15, 2025

Merge activity

  • Oct 15, 10:37 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 15, 10:45 AM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 15, 10:48 AM UTC: @Brooooooklyn merged this pull request with Graphite.

@Brooooooklyn Brooooooklyn changed the base branch from fix/clippy-semicolon-if-nothing-returned to graphite-base/227 October 15, 2025 10:38
@Brooooooklyn Brooooooklyn changed the base branch from graphite-base/227 to main October 15, 2025 10:43
Rename Error enum variants to remove redundant 'Error' suffix:
- BincodeEncodeError -> BincodeEncode
- BincodeDecodeError -> BincodeDecode
- NixError -> Nix
- SerdeError -> Serde
- WaxBuildError -> WaxBuild
- WaxWalkError -> WaxWalk
- CycleDependenciesError -> CycleDependencies
- SerdeYmlError -> SerdeYml
- ViteError -> Vite
- StripPathError -> StripPath
- SemverError -> Semver
- ReqwestError -> Reqwest
- AnyhowError -> Anyhow
- SqliteError -> Sqlite

Also updated all usages in:
- packages/cli/binding/src/lib.rs
- crates/vite_package_manager/src/package_manager.rs
- crates/vite_task/src/schedule.rs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Brooooooklyn Brooooooklyn force-pushed the fix/clippy-enum-variant-names branch from ef417ca to 8afd986 Compare October 15, 2025 10:44
@Brooooooklyn Brooooooklyn merged commit 4e12ee1 into main Oct 15, 2025
8 of 9 checks passed
@Brooooooklyn Brooooooklyn deleted the fix/clippy-enum-variant-names branch October 15, 2025 10:48
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