sheerun / prettier-standard

Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠)
MIT License
868 stars 44 forks source link

JSX double quotes in output #8

Closed adonis-work closed 7 years ago

adonis-work commented 7 years ago

JavaScript Standard Style prefers single quotes.

When testing with text below JSX gets converted to double quotes, the rest of the code gets single quotes.

const GoogleLoginButton = React.createClass({
  componentDidMount: () => {
    window.addEventListener('google-loaded', renderGoogleLoginButton)
    renderGoogleLoginButton()
  },
  render: () => <div id="gmailLogin" />
})