eslint-plugin-react-native
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -338,2 +338,5 @@ 'use strict'; | ||
node.properties.forEach(p => { | ||
if (!p.value || !p.key) { | ||
return; | ||
} | ||
if (p.value.type === 'Literal') { | ||
@@ -365,3 +368,3 @@ invalid = true; | ||
node.properties.forEach(p => { | ||
if (p.key.name && p.key.name.toLowerCase().indexOf('color') !== -1) { | ||
if (p.key && p.key.name && p.key.name.toLowerCase().indexOf('color') !== -1) { | ||
if (p.value.type === 'Literal') { | ||
@@ -368,0 +371,0 @@ invalid = true; |
{ | ||
"name": "eslint-plugin-react-native", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Tom Hastjarjanto <tom@intellicode.nl>", | ||
@@ -27,3 +27,3 @@ "description": "React Native specific linting rules for ESLint", | ||
"babel-eslint": "6.1.2", | ||
"coveralls": "2.11.11", | ||
"coveralls": "2.11.12", | ||
"eslint": "2.13.1", | ||
@@ -35,3 +35,3 @@ "eslint-config-airbnb": "9.0.1", | ||
"istanbul": "0.4.4", | ||
"mocha": "2.5.3" | ||
"mocha": "3.0.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "keywords": [ |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
37713
11
1019
0
90