lib/rules/jsx-quotes.js
function usesExpectedQuotes(node) {
            return node.value.indexOf(setting.quote) !== -1 || astUtils.isSurroundedBy(node.raw, setting.quote);
        }
function usesExpectedQuotes(node) {
            return node.value.indexOf(setting.quote) !== -1 || astUtils.isSurroundedBy(node.raw, setting.quote);
        }
function usesExpectedQuotes ( node ) { return node . value . indexOf ( setting . quote ) !== - 1 || astUtils . isSurroundedBy ( node . raw , setting . quote ) ; }
Checks if the given string literal node uses the expected quotes
@param {ASTNode} node - A string literal node.
@returns {boolean} Whether or not the string literal used the expected quotes.
@public
Checks if the given string literal node uses the expected quotes