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.1.1 to 1.1.2

2

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

@@ -5,0 +5,0 @@ "scripts": {

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

- Based on recommended config of [eslint-plugin-lodash](https://www.npmjs.com/package/eslint-plugin-lodash)
- Prefer using native API over Lodash
`eslint-config-lodash` is using following configurations and plugins.
- [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)
## Peer dependencies
- [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)
## Usage

@@ -18,5 +26,15 @@

Install eslint-config-lodash and its peer dependencies.
#### npm@>=7
Install `eslint-config-lodash`.
```sh
npm i -D eslint-config-lodash
```
#### npm@<7
Install `eslint-config-lodash` and its peer dependencies.
```sh
npm i -D \

@@ -29,12 +47,12 @@ eslint \

### Update ESLint config
### Use in ESLint config
Add `lodash` to `extends` of your ESLint config.
```js
module.exports = {
extends: [
'lodash'
```json
{
"extends": [
"lodash"
]
}
```
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