eslint-plugin-destructuring icon indicating copy to clipboard operation
eslint-plugin-destructuring copied to clipboard

Eslint rules related to ES2015 destructuring

Results 6 eslint-plugin-destructuring issues
Sort by recently updated
recently updated
newest added

This plugin is a hidden gem. I'd love to continue using it with newer versions of ESLint... Any chance of an upgrade?

The [guide](https://github.com/lukeapage/eslint-plugin-destructuring/blob/master/docs/rules/in-params.md) says: > The following patterns are not considered warnings: > ```js > /*eslint destructuring/in-params: ["error", { "max-params" : 1}]*/ > > function t1({a}) {} > function t2(a, b)...

Destructuring is a warning in all parameters. ```json { "rules": { "destructuring/in-params": ["warn", { "max-params": 0 }] } } ``` This doesn't show a warning: ```ts const createConnectMiddleware = (...

This code is not valid: ``` const t2 = (b, {a}) = a; ``` Sometimes because of a typo such valid code can be written as well: ```js const createRegExp...

Bumps [eslint](https://github.com/eslint/eslint) from 3.19.0 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...

dependencies

Lots of info on this rule request here: * https://github.com/eslint/eslint/issues/7973 * https://github.com/eslint/eslint/issues/7973#issuecomment-280716417 Quite a few people looking to see this in a plugin. Let me know what you think!