Socket
Book a DemoInstallSign in
Socket

@putout/plugin-remove-useless-template-expressions

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/plugin-remove-useless-template-expressions

putout plugin adds ability to remove useless template expressions

Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
17K
-7.21%
Maintainers
1
Weekly downloads
 
Created
Source

@putout/plugin-remove-useless-template-expressions NPM version Dependency Status

putout plugin adds ability to remove useless template expressions.

Install

npm i @putout/plugin-remove-useless-template-expressions -D

Rule

{
    "rules": {
        "remove-useless-template-expressions": "on"
    }
}

❌ Incorrect code example

const y = `${"hello"} + ${"world"}`;

✅ Correct code Example

const y = `hello + world`;

License

MIT

Keywords

putout

FAQs

Package last updated on 09 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts