eslint-plugin-lodash
eslint-plugin-lodash copied to clipboard
ESLint rules for lodash
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Hi, The whitesource scan detected following security vulnerability on package lodash v4.17.19 Can you please help me out how to upgrade it to updated version.
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3. **This update includes a security fix.** Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. Prototype Pollution Overview The npm package y18n before versions...
`import { useRouter } from 'next/router' const router = useRouter() router.replace('/')` with plugin:lodash/recommended: ESLint: Prefer '_.replace' over the native function. (lodash/prefer-lodash-method) quick fix rule: 'lodash/prefer-lodash-method': [2, { ignoreMethods: ['replace'] }]
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.2 to 7.0.3. Release notes Sourced from cross-env's releases. v7.0.3 7.0.3 (2020-12-01) Bug Fixes add maintenance mode notice (fe80c84) Commits bb0287b docs: add dsbert as a contributor...
Hello. The docs it says that path-style rule is "as-needed" by defaullt. But looking at the recommended ruleset, it's set as "string". https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/path-style.md https://github.com/wix/eslint-plugin-lodash/blob/a919c0a9b390dc38b7cf593d151f62545d86ac6e/src/index.js#L24
I think it's quite convenient to put a comment inside an empty function explaining why it's empty e.g. `onClick = () => { /* TODO: */ }` or `run(() =>...
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.** Vulnerabilities fixed Sourced from The GitHub Security Advisory Database. The size option isn't honored after following a redirect...
my code: ```js const obj = { a: { b: 1 }}; const a = 'a'; const b = 'b'; _.has(obj, [a, b]) ``` I applied eslint with `--fix` option....
In the `collection-ordering` rule, for `sortBy` and `orderBy`, perhaps require that there be the same number of iteratees and orders? So, in `_.orderBy(items, ['a', 'b'], ['asc'])`, there would be an...