eslint-config-lodash
v4.0.3
Published
ESLint Shareable Config for Lodash
Downloads
3,652
Maintainers
Readme
eslint-config-lodash
ESLint Shareable Config for Lodash
Overview
eslint-config-lodash
is using following configurations and plugins.
Requirements
- Node.js v18 or later
- ESLint v7/v8
Installation
npm:
npm i -D eslint-config-lodash
Yarn:
yarn add -D eslint-config-lodash
pnpm:
pnpm add -D eslint-config-lodash
Usage
Add lodash
to the extends
section of your ESLint configuration file.
JavaScript:
module.exports = {
extends: [
'lodash'
// add other rulesets here if needed
]
}
YAML:
extends:
- lodash
# add other rulesets here if needed
JSON:
{
"extends": [
"lodash"
// add other rulesets here if needed
]
}