Skip to content

Commit e9ce06a

Browse files
committed
Exclude build dirs and node_modules from prettier.
1 parent 3d9cd9a commit e9ce06a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"scripts": {
4-
"format": "prettier --single-quote --trailing-comma=es5 --print-width=100 --write '{create-react-native-app,react-native-scripts}/**/*.js'"
4+
"format": "prettier --single-quote --trailing-comma=es5 --print-width=100 --write '{create-react-native-app,react-native-scripts}/{src,template}/**/*.js'"
55
},
66
"devDependencies": {
77
"prettier": "^0.21.0"

0 commit comments

Comments
 (0)