eslint-plugin-lodash
Advanced tools
Comparing version 1.6.8 to 1.6.9
@@ -11,4 +11,11 @@ # Change Log | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.6.8...HEAD | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.6.9...HEAD | ||
## [1.6.9] - 2016-04-19 | ||
### Fixed | ||
- Stopped `prefer-noop` from reporting on empty method definitions. ([`3d35bdf`][3d35bdf]) | ||
[3d35bdf]: https://github.com/wix/eslint-plugin-lodash/commit/3d35bdf50d0b6d473e565a1755bc36800ffed184 | ||
[1.6.9]: https://github.com/wix/eslint-plugin-lodash/compare/v1.6.9...v1.6.8 | ||
## [1.6.8] - 2016-04-18 | ||
@@ -15,0 +22,0 @@ ### Fixed |
@@ -14,3 +14,3 @@ /** | ||
function reportIfEmptyFunction(node) { | ||
if (!astUtil.getFirstFunctionLine(node)) { | ||
if (!astUtil.getFirstFunctionLine(node) && node.parent.type !== 'MethodDefinition') { | ||
context.report(node, 'Prefer _.noop over an empty function'); | ||
@@ -17,0 +17,0 @@ } |
{ | ||
"name": "eslint-plugin-lodash", | ||
"version": "1.6.8", | ||
"version": "1.6.9", | ||
"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
128874