Skip to content

Files

Latest commit

 

History

History
22 lines (15 loc) · 316 Bytes

require-scoped.md

File metadata and controls

22 lines (15 loc) · 316 Bytes

Pattern: Missing scoped attribute

Issue: -

Description

Enforces the <style> tags to have the scoped attribute. Note: This rule has been deprecated in favor of enforce-style-type.

Examples

<template>
</template>

<!-- ✗ BAD -->
<style>
</style>

<!-- ✓ GOOD -->
<style scoped>
</style>