File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ pageClass: "rule-details"
3
3
sidebarDepth : 0
4
4
title : " @ota-meshi/svelte/dollar-prefixed-store-uses-vars"
5
5
description : " prevent $-prefixed variables to be marked as unused"
6
+ since : " v0.18.0"
6
7
---
7
8
8
9
# @ota-meshi/svelte /dollar-prefixed-store-uses-vars
9
10
10
11
> prevent $-prefixed variables to be marked as unused
11
12
12
- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > ** _ This rule has not been released yet._ ** </badge >
13
13
- :gear : This rule is included in ` "plugin:@ota-meshi/svelte/base" ` and ` "plugin:@ota-meshi/svelte/recommended" ` .
14
14
15
15
ESLint ` no-unused-vars ` rule does not detect store variables used as $-prefixed.
@@ -41,6 +41,10 @@ Without this rule this code triggers warning:
41
41
42
42
Nothing.
43
43
44
+ ## :rocket : Version
45
+
46
+ This rule was introduced in @ota-meshi/eslint-plugin-svelte v0.18.0
47
+
44
48
## :mag : Implementation
45
49
46
50
- [ Rule source] ( https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/dollar-prefixed-store-uses-vars.ts )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ota-meshi/eslint-plugin-svelte" ,
3
- "version" : " 0.17 .0" ,
3
+ "version" : " 0.18 .0" ,
4
4
"publishConfig" : {
5
5
"access" : " public"
6
6
},
You can’t perform that action at this time.
0 commit comments