eslint-plugin-react
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -6,2 +6,9 @@ # Change Log | ||
## [5.1.1] - 2016-05-10 | ||
### Fixed | ||
* Fix `require-render-return` crash ([#589][]) | ||
[5.1.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v5.1.0...v5.1.1 | ||
[#589]: https://github.com/yannickcr/eslint-plugin-react/issues/589 | ||
## [5.1.0] - 2016-05-10 | ||
@@ -8,0 +15,0 @@ ### Added |
@@ -52,5 +52,6 @@ /** | ||
return tokens[1] && tokens[1].type === 'Identifier' ? tokens[1].value : tokens[0].value; | ||
} else if (['MethodDefinition', 'Property'].indexOf(node.type) !== -1) { | ||
return node.key.name; | ||
} | ||
return node.key.name; | ||
return ''; | ||
} | ||
@@ -57,0 +58,0 @@ |
{ | ||
"name": "eslint-plugin-react", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "React 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
222585
5222