@putout/plugin-split-call-with-destructuring
🐊Putout plugin adds ability to find and 'split-call-with-destructuring' statement
Last updated a year ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @putout/plugin-split-call-with-destructuring 
SYNC missed versions from official npm registry.

@putout/plugin-split-call-with-destructuring NPM version

????Putout plugin adds ability to split call with destructuring. Merged with @putout/plugin-destructuring.

Checkout in ????Putout Editor.

Install

npm i @putout/plugin-split-call-with-destructuring

Rule

{
    "rules": {
        "split-call-with-destructuring": "on"
    }
}

❌ Example of incorrect code

console.log('hello')({uid} = path.scope);
console.log('hello')[uid] = path.scope;

✅ Example of correct code

console.log('hello');
({uid} = path.scope);

console.log('hello');
[uid] = path.scope;

License

MIT

Current Tags

  • 2.0.1                                ...           latest (4 months ago)

3 Versions

  • 2.0.1                                ...           4 months ago
  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (8)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |