Skip to content

Commit 017e1b4

Browse files
committed
Updated prettier to run against both TS and TSX files
1 parent 42e38bf commit 017e1b4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/*
2+
*.snap

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "webpack --config webpack.prod.js",
88
"dev": "webpack -w --config webpack.dev.js",
99
"test": "jest --config=jest.config.js",
10-
"prettify": "prettier --write ./src/*.ts",
10+
"prettify": "prettier --write \"src/**/*.ts*\"",
1111
"storybook": "start-storybook -p 6006",
1212
"build-storybook": "build-storybook"
1313
},

0 commit comments

Comments
 (0)