runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
317 stars 36 forks source link

no-invalid-css fails on inlined animation keyframes #284

Open nmattia opened 1 year ago

nmattia commented 1 year ago

The no-invalid-css rule gets triggered by (as far as I can tell) perfectly fine CSS animation keyframes:

  <style>
    @keyframes test {
        0% {
            background-color: transparent;
        }
    }
  </style>

gives:


./src/file.ts

    { expected
    286:  @keyframes test {
    no-invalid-css