max-mapper / standard-format

converts your code into Standard JavaScript Format
264 stars 59 forks source link

Double quotes are not replaced with single quotes in jsx tags #94

Closed TheLudd closed 9 years ago

TheLudd commented 9 years ago

If I have this: <div className="my-class"> the double quotes are not replaced with single quotes even though standard reports it as an error.

feross commented 9 years ago

Is that in your JSX?

TheLudd commented 9 years ago

What do you mean exactly?

I have jsx files with tag attributes using double quotes, yes.

feross commented 9 years ago

Looks like esformatter doesn't replace quotes in JSX. You probably need to send them a PR to fix this!

TheLudd commented 9 years ago

Will do