eslint-plugin-react
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -0,1 +1,10 @@ | ||
3.2.3 / 2015-08-16 | ||
================== | ||
* update dependencies | ||
* fix object rest/spread handling ([#187][] @xjamundx, [#189][] @Morantron) | ||
[#187]: https://github.com/yannickcr/eslint-plugin-react/pull/187 | ||
[#189]: https://github.com/yannickcr/eslint-plugin-react/pull/189 | ||
3.2.2 / 2015-08-11 | ||
@@ -2,0 +11,0 @@ ================== |
@@ -161,2 +161,6 @@ /** | ||
node.properties.forEach(function(property) { | ||
if (!property.key) { | ||
return; | ||
} | ||
if (!isDisplayNameDeclaration(property.key)) { | ||
@@ -163,0 +167,0 @@ return; |
@@ -84,2 +84,6 @@ /** | ||
node.properties.forEach(function(property) { | ||
if (!property.key) { | ||
return; | ||
} | ||
if (!isPropTypesDeclaration(property.key)) { | ||
@@ -86,0 +90,0 @@ return; |
@@ -49,3 +49,3 @@ /** | ||
// (babel-eslint does not expose property name so we have to rely on tokens) | ||
if (node.type === 'ClassProperty') { | ||
if (node && node.type === 'ClassProperty') { | ||
var tokens = context.getFirstTokens(node, 2); | ||
@@ -52,0 +52,0 @@ if ( |
{ | ||
"name": "eslint-plugin-react", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>", | ||
@@ -27,4 +27,4 @@ "description": "React specific linting rules for ESLint", | ||
"babel-eslint": "4.0.5", | ||
"coveralls": "2.11.3", | ||
"eslint": "1.0.0", | ||
"coveralls": "2.11.4", | ||
"eslint": "1.1.0", | ||
"istanbul": "0.3.17", | ||
@@ -31,0 +31,0 @@ "mocha": "2.2.5" |
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
103187
2520