You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/rules/enforce-style-attribute.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,12 @@ pageClass: rule-details
3
3
sidebarDepth: 0
4
4
title: vue/enforce-style-attribute
5
5
description: enforce or forbid the use of the `scoped` and `module` attributes in SFC top level style tags
6
+
since: v9.20.0
6
7
---
7
8
# vue/enforce-style-attribute
8
9
9
10
> enforce or forbid the use of the `scoped` and `module` attributes in SFC top level style tags
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
12
-
13
12
## :book: Rule Details
14
13
15
14
This rule allows you to explicitly allow the use of the `scoped` and `module` attributes on your top level style tags.
@@ -79,6 +78,10 @@ This rule allows you to explicitly allow the use of the `scoped` and `module` at
79
78
80
79
-`"allow"` (`["scoped" | "module" | "plain"]`) Array of attributes to allow on a top level style tag. The option `plain` is used to allow style tags that have neither the `scoped` nor `module` attributes. Default: `["scoped"]`
81
80
81
+
## :rocket: Version
82
+
83
+
This rule was introduced in eslint-plugin-vue v9.20.0
0 commit comments