Skip to content

Conversation

mridulTripathi
Copy link

  • Remove unused methods from Handler and FormattedItem traits
  • Fix Arc thread safety issues with proper Send+Sync bounds
  • Update format strings to use modern inline syntax
  • Resolve field naming conflicts in taplo-common
  • Fix WASM thread safety issues
  • Add missing semicolons in VSCode extension

All Rust crates now compile successfully with strict clippy warnings enabled. Tests pass: 101/101

Resolves compilation blocking issues and improves code quality.

@panekj
Copy link
Collaborator

panekj commented Aug 23, 2025

If you split the changes to own commits and leave only Arc/WASM/cache changes then I'll merge it

@mridulTripathi mridulTripathi force-pushed the fix/linting-issues branch 2 times, most recently from 126fe95 to db55139 Compare August 24, 2025 09:17
- Fix Arc thread safety issues with proper Send+Sync bounds in lsp-async-stub
- Fix WASM thread safety issues with proper Send+Sync implementations

This commit contains ONLY the essential Arc/WASM thread safety fixes requested for merge.
- Remove unused method() from Handler trait in lsp-async-stub
- Remove unused syntax() method from FormattedItem trait
- Clean up trait implementations and improve code organization
- Update format strings to use modern Rust inline syntax (e.g., {variable})
- Apply consistent formatting across taplo, taplo-cli, and formatter modules
- Improve readability and follow Rust best practices
- Fix missing semicolons in comment.ts syntax definitions
- Ensure proper TypeScript syntax compliance
@mridulTripathi
Copy link
Author

@panekj, I have broken it down to specific commits. Kindly confirm if this looks good or should I make this even shorter.

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