5.0.1 β€’ Published 6 months ago

@putout/plugin-convert-quotes-to-backticks v5.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@putout/plugin-convert-quotes-to-backticks NPM version

Template literals are literals delimited with backticks (`).

(c) MDN

🐊Putout plugin adds ability to convert quotes to backticks. Related to @putout/plugin-remove-useless-escape.

Install

npm i @putout/plugin-convert-quotes-to-backticks -D

Rule

{
    "rules": {
        "convert-quotes-to-backticks": "on"
    }
}

❌ Example of incorrect code

const a = 'hello \'world\'';

βœ… Example of correct code

const a = `hello 'world'`;

License

MIT

5.0.1

6 months ago

5.0.0

6 months ago

4.0.1

8 months ago

4.0.0

8 months ago

4.0.3

8 months ago

4.0.2

8 months ago

3.0.0

2 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago