Repository navigation
feat: check cva and tv configs and tw tagged templates - #24
Merged
Merged
Conversation
MaisonnatM
force-pushed
the
feat/more-class-sources
branch
from
October 20, 2026 07:53
61d08b7 to
7881888
Compare
MaisonnatM
force-pushed
the
feat/variant-configs
branch
from
October 20, 2026 07:53
dbc41a3 to
5d2b530
Compare
MaisonnatM
force-pushed
the
feat/more-class-sources
branch
from
October 20, 2026 08:11
7881888 to
4724efe
Compare
MaisonnatM
force-pushed
the
feat/variant-configs
branch
2 times, most recently
from
October 20, 2026 08:14
2ed7c53 to
8e46257
Compare
MaisonnatM
force-pushed
the
feat/more-class-sources
branch
2 times, most recently
from
October 20, 2026 08:15
6629840 to
14739c3
Compare
MaisonnatM
force-pushed
the
feat/variant-configs
branch
from
October 20, 2026 08:16
8e46257 to
d25026e
Compare
MaisonnatM
marked this pull request as ready for review
October 20, 2026 08:17
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
# [1.6.0](v1.5.0...v1.6.0) (2026-10-20) ### Features * check cva and tv configs and tw tagged templates ([#24](#24)) ([943a378](943a378))
|
🎉 This PR is included in version 1.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
After #22, the last class strings the other canonical-class rules check and this one skips are
cvavariants,tv()configs, andtw`…`tagged templates.Stacked on #22.
What changed
cvaandtvconfigs. Classes are read from config values:base,slots, variant options (strings, arrays, slot objects), andclassorclassNameincompoundVariantsandcompoundSlots.defaultVariantsand compound selectors such as{ size: "sm" }are skipped, since they hold variant names. The secondtv()argument configures tailwind-merge and is skipped.calleeFunctionsname also matchesname`…`andname.div`…`, with the same template literal handling as feat: check ternaries, template literals with expressions, and object keys #22.calleeFunctionsnow defaults to['cn', 'clsx', 'classNames', 'twMerge', 'cva', 'tv', 'tw']. Projects that setcalleeFunctionskeep their list.Measurement
All bench fixtures from #21 except plain variables are now reported, against the real Tailwind worker. On the 400-file benchmark the report count stays at 21,645.