@putout/plugin-convert-concat-to-flat
putout plugin adds ability to convert concat to flat
Last updated 6 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/plugin-convert-concat-to-flat 
SYNC missed versions from official npm registry.

@putout/plugin-convert-concat-to-flat NPM version Dependency Status

putout plugin adds ability to convert concat to flat.

Install

npm i @putout/plugin-convert-concat-to-flat -D

Rule

{
    "rules": {
        "convert-concat-to-flat": "on"
    }
}

❌ Incorrect code example

[].concat(...array);

✅ Correct code Example

array.flat();

License

MIT

Current Tags

  • 2.0.0                                ...           latest (10 months ago)

2 Versions

  • 2.0.0                                ...           10 months ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Total 2
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE