Skip to content

Conversation

@steverice
Copy link

@steverice steverice commented Sep 30, 2025

This is a proof of concept for TypeSpec Transformers.

What it demonstrates:

  • how transformers can be set up as part of libraries
  • how transformers can be configured via tspconfig
  • how transformers can be tested
  • how transformers can make use of mutators

The basic structure here is:

  • a library defines a "Transformer" that encapsulates all of its transform functionality (similar to "linter")
  • each individual transformation is called a "Transform" (similar to "lint rule")
  • libraries also define "Transform Sets" (similar to linter "rule sets") that bundle transforms into functional groupings

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