Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e3d479

Browse files
committed
Use prettier.trailingComma: all
1 parent f402d20 commit 8e3d479

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Week1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ In week one we will discuss the following topics:
4646
"files.autoSave": "onFocusChange",
4747
"prettier.printWidth": 100,
4848
"prettier.singleQuote": true,
49-
"prettier.trailingComma": "es5"
49+
"prettier.trailingComma": "all"
5050
}
5151
```
5252

prettier.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
printWidth: 100,
33
singleQuote: true,
4-
trailingComma: 'es5',
4+
trailingComma: 'all',
55
bracketSpacing: true,
66
jsxBracketSameLine: false,
77
tabWidth: 2,

0 commit comments

Comments
 (0)