Skip to content

Commit

Permalink
0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 7, 2021
1 parent e1e0252 commit a6823b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/rules/dollar-prefixed-store-uses-vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pageClass: "rule-details"
sidebarDepth: 0
title: "@ota-meshi/svelte/dollar-prefixed-store-uses-vars"
description: "prevent $-prefixed variables to be marked as unused"
since: "v0.18.0"
---

# @ota-meshi/svelte/dollar-prefixed-store-uses-vars

> prevent $-prefixed variables to be marked as unused
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> **_This rule has not been released yet._** </badge>
- :gear: This rule is included in `"plugin:@ota-meshi/svelte/base"` and `"plugin:@ota-meshi/svelte/recommended"`.

ESLint `no-unused-vars` rule does not detect store variables used as $-prefixed.
Expand Down Expand Up @@ -41,6 +41,10 @@ Without this rule this code triggers warning:

Nothing.

## :rocket: Version

This rule was introduced in @ota-meshi/eslint-plugin-svelte v0.18.0

## :mag: Implementation

- [Rule source](https://github.com/ota-meshi/eslint-plugin-svelte/blob/main/src/rules/dollar-prefixed-store-uses-vars.ts)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ota-meshi/eslint-plugin-svelte",
"version": "0.17.0",
"version": "0.18.0",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit a6823b0

Please sign in to comment.