eslint-config-lodash
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "eslint-config-lodash", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "ESLint Shareable Config for Lodash", | ||
@@ -15,3 +15,3 @@ "scripts": { | ||
"devDependencies": { | ||
"@eslint-recommended/eslint-config": "24.0.0", | ||
"@eslint-recommended/eslint-config": "26.0.1", | ||
"eslint": "8.57.0" | ||
@@ -18,0 +18,0 @@ }, |
@@ -7,3 +7,3 @@ [![npm version](https://badge.fury.io/js/eslint-config-lodash.svg)](https://badge.fury.io/js/eslint-config-lodash) | ||
ESLint Shareable Config for Lodash | ||
ESLint Shareable Config for [Lodash](https://lodash.com/) | ||
@@ -17,2 +17,7 @@ ## Overview | ||
## Requirements | ||
- Node.js v18 or later | ||
- ESLint v7/v8 | ||
## Installation | ||
@@ -32,7 +37,15 @@ | ||
pnpm: | ||
```sh | ||
pnpm add -D eslint-config-lodash | ||
``` | ||
## Usage | ||
Add `lodash` to `extends` of your ESLint config. | ||
Add `lodash` to the `extends` section of your [ESLint configuration file](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated). | ||
```js | ||
JavaScript: | ||
```javascript | ||
module.exports = { | ||
@@ -42,7 +55,23 @@ extends: [ | ||
// add other rulesets here if needed | ||
], | ||
rules: { | ||
// override/add rules settings here if needed | ||
} | ||
] | ||
} | ||
``` | ||
YAML: | ||
```yaml | ||
extends: | ||
- lodash | ||
# add other rulesets here if needed | ||
``` | ||
JSON: | ||
```jsonc | ||
{ | ||
"extends": [ | ||
"lodash" | ||
// add other rulesets here if needed | ||
] | ||
} | ||
``` |
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
3823
74