svelte-eslint-parser
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -21,3 +21,3 @@ "use strict"; | ||
node.parent = parent; | ||
if (node.type === "LabeledStatement") { | ||
if (node.type === "LabeledStatement" && node.label.name === "$") { | ||
if ((parent === null || parent === void 0 ? void 0 : parent.type) === "Program") { | ||
@@ -24,0 +24,0 @@ // Transform node type |
{ | ||
"name": "svelte-eslint-parser", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Svelte parser for ESLint", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
# svelte-eslint-parser | ||
[Svelte] parser for [ESLint] | ||
[Svelte] parser for [ESLint]. | ||
You can check it on [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/playground). | ||
@@ -117,4 +118,4 @@ ::: ***WORKS IN PROGRESS*** ::: | ||
- [AST.md](./docs/AST.md) is AST specification. | ||
- You can see the AST on the [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/). | ||
- [AST.md](./docs/AST.md) is AST specification. You can check it on the [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/). | ||
- The parser will generate its own [ScopeManager](https://eslint.org/docs/developer-guide/scope-manager-interface). You can check it on the [Online DEMO](https://ota-meshi.github.io/svelte-eslint-parser/scope). | ||
@@ -121,0 +122,0 @@ ## :beers: Contributing |
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
119778
134
2
26