getgrit / stdlib

The GritQL standard library provides common patterns for refactoring and upgrading code.
https://docs.grit.io/patterns
47 stars 18 forks source link

Bug | angular self closing tags with *ngIf #149

Closed scr2em closed 6 months ago

scr2em commented 6 months ago

Hi,

I want to try GritQL to transform all possible elements to be self closed. I've checked https://app.grit.io/studio?preset=prefer_self_closing_tag_jsx&key=OR1LvWpzVk9vLiS6tgCZ9

but it seems like it's stripping *, any advice ?

     <ion-spinner *ngIf="isLoading" color="white"></ion-spinner>
image
scr2em commented 6 months ago

wrong repo, moved it to https://github.com/getgrit/gritql/issues/67