eslint-plugin-lodash
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -11,6 +11,13 @@ # Change Log | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.0.4...HEAD | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.0.5...HEAD | ||
## [1.0.5] - 2016-02-07 | ||
### Fixed | ||
- Fixed error with rule `prefer-map` when `_` isn't lodash ([`8892139`][8892139]) | ||
[8892139]: https://github.com/wix/eslint-plugin-lodash/commit/8892139ea438dba68118bfa2fbadecb32aac2762 | ||
[1.0.5]: https://github.com/wix/eslint-plugin-lodash/compare/v1.0.5...v1.0.4 | ||
## [1.0.4] - 2016-02-04 | ||
### Added | ||
### Fixed | ||
- Fixed error with rule `prefer-filter` when `_` isn't lodash ([`95c3d46`][95c3d46]) | ||
@@ -17,0 +24,0 @@ |
@@ -17,3 +17,3 @@ /** | ||
var exp = func && func.type === 'ArrowFunctionExpression' ? firstLine : firstLine && firstLine.expression; | ||
return astUtil.hasOnlyOneStatement(func) && astUtil.getMethodName(exp) === 'push'; | ||
return func && astUtil.hasOnlyOneStatement(func) && astUtil.getMethodName(exp) === 'push'; | ||
} | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "eslint-plugin-lodash", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"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
98024