Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-lodash

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-lodash - npm Package Compare versions

Comparing version 1.6.8 to 1.6.9

9

CHANGELOG.md

@@ -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

2

lib/rules/prefer-noop.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc