Skip to content

Commit 72b737a

Browse files
committed
Split prettier config out of package.json
1 parent 34de746 commit 72b737a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
],
4545
"lint-staged": {
4646
"*.{md,ts,js,json}": [
47-
"prettier --write --single-quote --trailing-comma es5",
47+
"prettier --write es5",
4848
"git add"
4949
]
5050
},

prettier.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
singleQuote: true,
3+
trailingComma: 'all',
4+
};

0 commit comments

Comments
 (0)