ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / no-unnecessary-template-literal
Disallows unnecessary template literals.
module.exports = {
plugins: ["misc"],
rules: {
"misc/no-unnecessary-template-literal": "error"
}
};
const x = `
text
`;
const x = "text";
const y = `
text
text
`;
const z = `
text ${x} text
`;