eslint-plugin-spruce
Advanced tools
Comparing version 8.13.1-pre-e6b56232.0 to 8.13.1-pre-f8851f8f.0
@@ -6,10 +6,18 @@ # Change Log | ||
## [8.13.1-pre-e6b56232.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v8.13.0...v8.13.1-pre-e6b56232.0) (2019-03-22) | ||
## [8.13.1-pre-f8851f8f.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v8.13.0...v8.13.1-pre-f8851f8f.0) (2019-03-29) | ||
**Note:** Version bump only for package eslint-plugin-spruce | ||
### Bug Fixes | ||
* **lint:** Update dependencies for shared lint config ([89b255f](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/89b255f)) | ||
### Features | ||
* **lint:** Enforce that query/mutate must be called with an object of options. ([78d2c3f](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/78d2c3f)) | ||
# [8.13.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v8.12.0...v8.13.0) (2019-03-20) | ||
@@ -16,0 +24,0 @@ |
@@ -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-pre-e6b56232.0", | ||
"version": "8.13.1-pre-f8851f8f.0", | ||
"description": "ESLint plugin for Spruce Javascript projects", | ||
@@ -21,3 +21,3 @@ "author": "George Pantazis <gcpantazis@gmail.com>", | ||
}, | ||
"gitHead": "a5b546d260b951bc03bc01892b2626dae91f265c" | ||
"gitHead": "a2283aa80351911ade46d1b2315bed1845c77339" | ||
} |
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
5143
97