🐊Putout plugin adds ability to remove useless template expressions
npm install @putout/plugin-remove-useless-template-expressions[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-template-expressions.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-template-expressions"npm"
> Template literals are literals delimited with backtick () characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.
>
> (c) MDN
🐊Putout plugin adds ability to remove useless template expressions.
``
npm i @putout/plugin-remove-useless-template-expressions -D
`json`
{
"rules": {
"remove-useless-template-expressions": "on"
}
}
`js${'hello'} + ${'world'}
const y = ;`
`jshello + world
const y = ;``
MIT