File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
title : " astro/no-unused-define-vars-in-style"
3
3
description : " disallow unused `define:vars={...}` in `style` tag"
4
4
setup : " import ESLintCodeBlock from '../docs-build/src/components/ESLintCodeBlockWrap.astro'"
5
+ since : " v0.6.0"
5
6
---
6
7
7
8
# astro/no-unused-define-vars-in-style
8
9
9
10
> disallow unused ` define:vars={...} ` in ` style ` tag
10
11
11
- - :exclamation : <badge text =" 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 is aimed at eliminating unused defined variables in ` define:vars={...} ` in ` style ` tag.
@@ -50,6 +49,10 @@ Nothing.
50
49
51
50
- [ Astro Documentation | Template Directives Reference > define: vars ] ( https://docs.astro.build/en/reference/directives-reference/#definevars )
52
51
52
+ ## :rocket : Version
53
+
54
+ This rule was introduced in eslint-plugin-astro v0.6.0
55
+
53
56
## :mag : Implementation
54
57
55
58
- [ Rule source] ( https://github.com/ota-meshi/eslint-plugin-astro/blob/main/src/rules/no-unused-define-vars-in-style.ts )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-astro" ,
3
- "version" : " 0.5 .0" ,
3
+ "version" : " 0.6 .0" ,
4
4
"description" : " ESLint plugin for Astro component" ,
5
5
"main" : " lib/index.js" ,
6
6
"files" : [
You can’t perform that action at this time.
0 commit comments