@cloudflare/eslint-plugin-sparrow
Advanced tools
Comparing version
@@ -6,3 +6,11 @@ # Change Log | ||
<a name="0.5.0"></a> | ||
<a name="0.5.1"></a> | ||
## [0.5.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/eslint-plugin-sparrow@0.5.0...@cloudflare/eslint-plugin-sparrow@0.5.1) (2018-11-28) | ||
**Note:** Version bump only for package @cloudflare/eslint-plugin-sparrow | ||
<a name="0.5.0"></a> | ||
# [0.5.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/eslint-plugin-sparrow@0.4.0...@cloudflare/eslint-plugin-sparrow@0.5.0) (2018-11-27) | ||
@@ -20,3 +28,3 @@ | ||
<a name="0.4.0"></a> | ||
<a name="0.4.0"></a> | ||
# [0.4.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/eslint-plugin-sparrow@0.3.0...@cloudflare/eslint-plugin-sparrow@0.4.0) (2018-10-30) | ||
@@ -23,0 +31,0 @@ |
@@ -111,3 +111,3 @@ /** | ||
if (isValidType(arg1, 'Literal') && isValidType(arg2, 'ObjectExpression')) { | ||
if (typeof arg1 !== 'undefined' && isValidType(arg2, 'ObjectExpression')) { | ||
if (!hasKeyInObject(arg2, 'category')) { | ||
@@ -114,0 +114,0 @@ context.report({ |
@@ -111,3 +111,3 @@ /** | ||
if (isValidType(arg1, 'Literal') && isValidType(arg2, 'ObjectExpression')) { | ||
if (typeof arg1 !== 'undefined' && isValidType(arg2, 'ObjectExpression')) { | ||
if (!hasKeyInObject(arg2, 'category')) { | ||
@@ -114,0 +114,0 @@ context.report({ |
{ | ||
"name": "@cloudflare/eslint-plugin-sparrow", | ||
"description": "A list of recommended rules for @cloudflare/util-sparrow", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "eslint", |
@@ -121,3 +121,3 @@ /** | ||
if ( | ||
isValidType(arg1, 'Literal') && | ||
typeof arg1 !== 'undefined' && | ||
isValidType(arg2, 'ObjectExpression') | ||
@@ -124,0 +124,0 @@ ) { |
19909
1.23%