@sprucelabs/eslint-plugin-spruce
Advanced tools
Comparing version 8.13.1-canary.1 to 8.13.1-canary.2
@@ -14,2 +14,11 @@ const rules = [ | ||
if (node.callee.name === rule.method) { | ||
if (node.arguments[0].type !== 'ObjectExpression') { | ||
return context.report( | ||
node, | ||
`The first argument to \`${ | ||
rule.method | ||
}\` must be an object of options.` | ||
) | ||
} | ||
const QueryOption = node.arguments[0].properties.find( | ||
@@ -16,0 +25,0 @@ o => o.key.name === rule.option |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "8.13.1-canary.1+152988e5", | ||
"version": "8.13.1-canary.2+296f5903", | ||
"description": "ESLint plugin for Spruce Javascript projects", | ||
@@ -21,3 +21,3 @@ "author": "George Pantazis <gcpantazis@gmail.com>", | ||
}, | ||
"gitHead": "152988e5a1b0e676821b31002bcb1e3d3cacb672" | ||
"gitHead": "296f59035531f511a5245bd84909846714e4c320" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4658
97