eslint-plugin-svelte3
Advanced tools
Comparing version 2.4.2 to 2.5.0
@@ -0,1 +1,6 @@ | ||
# 2.5.0 | ||
- Fix `let:` handling on regular elements as well | ||
- Separate `then` and `catch` scopes in `{#await}` | ||
# 2.4.2 | ||
@@ -2,0 +7,0 @@ |
@@ -253,6 +253,7 @@ 'use strict'; | ||
find_contextual_names(node.index); | ||
} else if (node.type === 'AwaitBlock') { | ||
find_contextual_names(node.value); | ||
find_contextual_names(node.error); | ||
} else if (node.type === 'InlineComponent') { | ||
} else if (node.type === 'ThenBlock') { | ||
find_contextual_names(parent.value); | ||
} else if (node.type === 'CatchBlock') { | ||
find_contextual_names(parent.error); | ||
} else if (node.type === 'Element' || node.type === 'InlineComponent') { | ||
node.attributes.forEach(node => node.type === 'Let' && find_contextual_names(node.expression || node.name)); | ||
@@ -259,0 +260,0 @@ } |
{ | ||
"name": "eslint-plugin-svelte3", | ||
"version": "2.4.2", | ||
"version": "2.5.0", | ||
"description": "An ESLint plugin for Svelte v3 components.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21782
336