Content-Length: 254221 | pFad | http://github.com/jsx-eslint/eslint-plugin-react/commit/7c80ba878b02abcb27e238839041e0143de1e9d0

37 chore: default sep to empty string · jsx-eslint/eslint-plugin-react@7c80ba8 · GitHub
Skip to content

Commit 7c80ba8

Browse files
committed
chore: default sep to empty string
1 parent 93b535f commit 7c80ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/propTypesSort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function fixPropTypesSort(
185185
);
186186

187187
const sourceCodeText = getText(context);
188-
let separator = null;
188+
let separator = '';
189189
source = nodes.reduceRight((acc, attr, index) => {
190190
const sortedAttr = sortedAttributes[index];
191191
const commentNode = commentnodeMap.get(sortedAttr);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jsx-eslint/eslint-plugin-react/commit/7c80ba878b02abcb27e238839041e0143de1e9d0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy