Socket
Socket
Sign inDemoInstall

eslint-config-lodash

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-lodash - npm Package Compare versions

Comparing version 1.2.3 to 2.0.0

5

package.json
{
"name": "eslint-config-lodash",
"version": "1.2.3",
"version": "2.0.0",
"description": "ESLint Shareable Config for Lodash",

@@ -11,2 +11,5 @@ "scripts": {

],
"engines": {
"node": ">=16"
},
"devDependencies": {

@@ -13,0 +16,0 @@ "@eslint-recommended/eslint-config": "11.0.1",

40

README.md

@@ -16,16 +16,6 @@ [![npm version](https://badge.fury.io/js/eslint-config-lodash.svg)](https://badge.fury.io/js/eslint-config-lodash)

## Peer dependencies
## Installation
- [eslint](https://www.npmjs.com/package/eslint)
- [eslint-plugin-lodash](https://www.npmjs.com/package/eslint-plugin-lodash)
- [eslint-plugin-you-dont-need-lodash-underscore](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore)
npm:
## Usage
### Install packages
#### npm@>=7
Install `eslint-config-lodash`.
```sh

@@ -35,24 +25,22 @@ npm i -D eslint-config-lodash

#### npm@<7
Yarn:
Install `eslint-config-lodash` and its peer dependencies.
```sh
npm i -D \
eslint \
eslint-plugin-lodash \
eslint-plugin-you-dont-need-lodash-underscore \
eslint-config-lodash
yarn add -D eslint-config-lodash
```
### Use in ESLint config
## Usage
Add `lodash` to `extends` of your ESLint config.
```json
{
"extends": [
"lodash"
]
```js
module.exports = {
extends: [
'lodash'
// add other rulesets here if needed
],
rules: {
// override/add rules settings here if needed
}
}
```
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