@putout/plugin-remove-useless-templates
putout plugin adds ability to find and remove useless template string
Last updated 6 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @putout/plugin-remove-useless-templates 
SYNC missed versions from official npm registry.

@putout/plugin-remove-useless-templates NPM version

????Putout plugin adds ability to find and remove useless template string. Nut bundled to putout (by default convert-template-to-string is used).

Install

npm i @putout/plugin-remove-useless-templates

Rule

{
    "rules": {
        "remove-useless-templates": "on"
    }
}

❌ Example of incorrect code

console.log(`${str}`);

✅ Example of correct code

console.log(str);

License

MIT

Current Tags

  • 2.0.0                                ...           latest (a year ago)

2 Versions

  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           6 years 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 |