eslint-plugin-lodash
Advanced tools
Comparing version 1.8.1 to 1.8.2
@@ -11,4 +11,11 @@ # Change Log | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.8.1...HEAD | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.8.2...HEAD | ||
## [1.8.2] - 2016-04-28 | ||
### Fixed | ||
- Fixed case where `prefer-times` crashes. ([`c199ed5`][c199ed5]) | ||
[c199ed5]: https://github.com/wix/eslint-plugin-lodash/commit/c199ed5f3c055648791079142c9afdee666ffbed | ||
[1.8.2]: https://github.com/wix/eslint-plugin-lodash/compare/v1.8.2...v1.8.1 | ||
## [1.8.1] - 2016-04-27 | ||
@@ -15,0 +22,0 @@ ### Fixed |
@@ -47,3 +47,3 @@ /** | ||
var isIterateeParamDefinition = function isIterateeParamDefinition(state, node) { | ||
return state && node.parent === state.func && _.includes(state.func.params, node) || node.parent.type === 'AssignmentPattern' && node.parent.parent === state.func; | ||
return state && (node.parent === state.func && _.includes(state.func.params, node) || node.parent.type === 'AssignmentPattern' && node.parent.parent === state.func); | ||
}; | ||
@@ -50,0 +50,0 @@ |
{ | ||
"name": "eslint-plugin-lodash", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"author": "Omer Ganim <ganimomer@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Lodash specific linting rules for ESLint", |
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
131360