# vue-scoped-css/no-unused-keyframes

disallow @keyframes which don't use in Scoped CSS

  • ⚙️ This rule is included in all of "plugin:vue-scoped-css/recommended", "plugin:vue-scoped-css/vue3-recommended" and "plugin:vue-scoped-css/all".

# 📖 Rule Details

This rule reports @keyframes is not used in Scoped CSS.

<style scoped> .item { animation-name: slidein; } /* ✗ BAD */ @keyframes unused-animation { } /* ✓ GOOD */ @keyframes slidein { } </style>
Now loading...

# 🔧 Options

Nothing.

# Implementation

Last Updated: 10/15/2021, 12:03:51 PM