Skip to content

Commit 07bc10e

Browse files
committed
PR feedback: set trailingComma='none'
1 parent a6d76e0 commit 07bc10e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.prettierrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ module.exports = {
77
singleQuote: true,
88
// Preserve existing newlines
99
endOfLine: 'auto',
10+
// For ES5, trailing commas cannot be used in function parameters; it is counterintuitive
11+
// to use them for arrays only
12+
trailingComma: 'none'
1013
};

0 commit comments

Comments
 (0)