dillon1000/react
Commit
Browse files Use double quote for transformed `displayName` and `data-*`
JSX currently transforms everything to double quote except these two. This way, it's at least consistent and will satisfy half of the people who do put a strict quotation linting on their project. Test: `jest`, check the double quoted transformed `data-bla="something"`.
Changed paths3 files
First-parent comparisonvendor/fbtransform/transforms/__tests__/react-displayName-test.js ModifiedM vendor/fbtransform/transforms/reactDisplayName.js ModifiedM vendor/fbtransform/transforms/xjs.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…