esformatter plugin: format jsx files (or js files with Facebook React JSX Syntax)
142
stars
25
forks
source link
Add an option to control if StringLiterals in JSXAttributes' value should use double quotes or single ones #93
Closed
royriojas closed 7 years ago
JSXAttributeQuotes
falsy
) then ignore it, quotes should remain as they were receivedsingle
ordouble
, just ignore it.Note. Strings should be escaped when needed.
Example:
Given
and
JSXAttributeQuotes
issingle
then the expected output will be
if
JSXAttributeQuotes
isdouble
and the input isthen the output should be