2.1.0 • Published 4 years ago

@putout/plugin-convert-quotes-to-backticks v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years 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

7 months ago

5.0.0

7 months ago

4.0.1

9 months ago

4.0.0

9 months ago

4.0.3

9 months ago

4.0.2

9 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