Skip to content

Commit e9022ad

Browse files
committed
0.6.0
1 parent 885da62 commit e9022ad

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/rules/no-unused-define-vars-in-style.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
title: "astro/no-unused-define-vars-in-style"
33
description: "disallow unused `define:vars={...}` in `style` tag"
44
setup: "import ESLintCodeBlock from '../docs-build/src/components/ESLintCodeBlockWrap.astro'"
5+
since: "v0.6.0"
56
---
67

78
# astro/no-unused-define-vars-in-style
89

910
> disallow unused `define:vars={...}` in `style` tag
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 is aimed at eliminating unused defined variables in `define:vars={...}` in `style` tag.
@@ -50,6 +49,10 @@ Nothing.
5049

5150
- [Astro Documentation | Template Directives Reference > define:vars](https://docs.astro.build/en/reference/directives-reference/#definevars)
5251

52+
## :rocket: Version
53+
54+
This rule was introduced in eslint-plugin-astro v0.6.0
55+
5356
## :mag: Implementation
5457

5558
- [Rule source](https://github.com/ota-meshi/eslint-plugin-astro/blob/main/src/rules/no-unused-define-vars-in-style.ts)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-astro",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "ESLint plugin for Astro component",
55
"main": "lib/index.js",
66
"files": [

0 commit comments

Comments
 (0)