eslint-plugin-jsx-control-statements
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -12,2 +12,7 @@ # Changelog | ||
## v1.0.2 | ||
### Fixed | ||
- Fixed: Allow JSX Expression to be used as child inside `If` and `For` tags. | ||
## v1.0.1 | ||
@@ -14,0 +19,0 @@ |
@@ -5,3 +5,3 @@ "use strict"; | ||
return children.filter(function(c) { | ||
if (c.type === "JSXElement") return true; | ||
if (c.type === "JSXElement" || c.type === "JSXExpressionContainer") return true; | ||
@@ -8,0 +8,0 @@ if (c.type === "Literal") return c.value.trim() !== ""; |
{ | ||
"name": "eslint-plugin-jsx-control-statements", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Vivek Kumar Bansal <vkb0310@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "jsx-control-statements specific linting rules for ESLint", |
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
15389