Hi all,
In my HTML projects, we need to check if the tokens defined by developers in their source code are included in the list of tokens we support.
For example, if the code has tokens like {{User.firstname}}
and {{User.lastname}}
, but our supported token list only includes {{User.fullname}}
, I want to flag this as an error so the developer can quickly correct it.
Is it possible to write a custom rule for this case? If yes, where should I start?
Thank you