Skip to content

Commit 4eecc5e

Browse files
committed
9.20.0
1 parent 895fc9c commit 4eecc5e

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

docs/rules/enforce-style-attribute.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/enforce-style-attribute
55
description: enforce or forbid the use of the `scoped` and `module` attributes in SFC top level style tags
6+
since: v9.20.0
67
---
78
# vue/enforce-style-attribute
89

910
> enforce or forbid the use of the `scoped` and `module` attributes in SFC top level style tags
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
12-
1312
## :book: Rule Details
1413

1514
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
7978

8079
- `"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"]`
8180

81+
## :rocket: Version
82+
83+
This rule was introduced in eslint-plugin-vue v9.20.0
84+
8285
## :mag: Implementation
8386

8487
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/enforce-style-attribute.js)

lib/utils/vue3-export-names.json

+12-4
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"getTransitionRawChildren",
8787
"Renderer",
8888
"HydrationRenderer",
89+
"ElementNamespace",
8990
"RootRenderFunction",
9091
"RendererOptions",
9192
"RendererNode",
@@ -120,7 +121,6 @@
120121
"Directive",
121122
"DirectiveArguments",
122123
"withDirectives",
123-
"DeprecationTypes",
124124
"ComponentCustomOptions",
125125
"RenderFunction",
126126
"ComponentOptionsBase",
@@ -138,12 +138,15 @@
138138
"provide",
139139
"inject",
140140
"hasInjectionContext",
141+
"PublicProps",
141142
"DefineComponent",
142143
"defineComponent",
143144
"App",
144145
"OptionMergeFunction",
145146
"AppConfig",
146147
"AppContext",
148+
"ObjectPlugin",
149+
"FunctionPlugin",
147150
"Plugin",
148151
"CreateAppFunction",
149152
"TeleportProps",
@@ -176,6 +179,7 @@
176179
"createStaticVNode",
177180
"createCommentVNode",
178181
"mergeProps",
182+
"ComponentInstance",
179183
"ComponentCustomProps",
180184
"AllowedComponentProps",
181185
"FunctionalComponent",
@@ -200,10 +204,12 @@
200204
"AsyncComponentOptions",
201205
"defineAsyncComponent",
202206
"defineProps",
207+
"DefineProps",
203208
"defineEmits",
204209
"defineExpose",
205210
"defineOptions",
206211
"defineSlots",
212+
"ModelRef",
207213
"defineModel",
208214
"withDefaults",
209215
"useSlots",
@@ -212,14 +218,11 @@
212218
"h",
213219
"ssrContextKey",
214220
"useSSRContext",
215-
"warn",
216221
"ErrorCodes",
217222
"callWithErrorHandling",
218223
"callWithAsyncErrorHandling",
219224
"handleError",
220225
"initCustomFormatter",
221-
"devtools",
222-
"setDevtoolsHook",
223226
"HMRRuntime",
224227
"pushScopeId",
225228
"popScopeId",
@@ -234,6 +237,10 @@
234237
"LegacyConfig",
235238
"CompatVue",
236239
"version",
240+
"warn",
241+
"devtools",
242+
"setDevtoolsHook",
243+
"DeprecationTypes",
237244
"createElementVNode",
238245
"VueElementConstructor",
239246
"defineCustomElement",
@@ -254,6 +261,7 @@
254261
"withKeys",
255262
"vShow",
256263
"CSSProperties",
264+
"AriaAttributes",
257265
"StyleValue",
258266
"HTMLAttributes",
259267
"AnchorHTMLAttributes",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-vue",
3-
"version": "9.19.2",
3+
"version": "9.20.0",
44
"description": "Official ESLint plugin for Vue.js",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)