Only run prettier on ts and tsx files

This commit is contained in:
Alexis Svinartchouk 2019-12-06 18:32:55 +01:00 committed by Lorenzo Alberto Maria Ambrosi
parent 992b8a6fb6
commit 2f0ce3ee37

View File

@ -38,9 +38,9 @@
}
},
"lint-staged": {
"./**/*.{js,mjs,jsx,ts,tsx}": [
"./**/*.{ts,tsx}": [
"npm run prettier",
"make lint",
"make lint-ts",
"git add"
]
},