lib/rules/no-template-literals.js
function isStringLiteralCode(s) {
    return (
        (s.startsWith("'") && s.endsWith("'")) ||
        (s.startsWith('"') && s.endsWith('"'))
    )
}
function isStringLiteralCode(s) {
    return (
        (s.startsWith("'") && s.endsWith("'")) ||
        (s.startsWith('"') && s.endsWith('"'))
    )
}
function isStringLiteralCode ( s ) { return ( ( s . startsWith ( "'" ) && s . endsWith ( "'" ) ) || ( s . startsWith ( '"' ) && s . endsWith ( '"' ) ) ) }
Checks whether it is string literal
@param  {string} s string source code
@returns {boolean} true: is string literal source code
Checks whether it is string literal