vue-scoped-css/require-scoped
enforce the
<style>
tags to has thescoped
attribute
- ⚠️ This rule was deprecated and replaced by vue-scoped-css/enforce-style-type rule.
📖 Rule Details
This rule reports the <style>
tags missing the scoped
attribute.
🔧 Options
Default is set to always
.
json
{
"vue-scoped-css/require-scoped": ["error", "always" | "never"]
}
"always"
(default) ... requiresscoped
."never"
... disallowedscoped
.
"never"