mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-26 00:07:17 +00:00
Only run prettier on ts and tsx files
This commit is contained in:
parent
992b8a6fb6
commit
2f0ce3ee37
@ -38,9 +38,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"./**/*.{js,mjs,jsx,ts,tsx}": [
|
"./**/*.{ts,tsx}": [
|
||||||
"npm run prettier",
|
"npm run prettier",
|
||||||
"make lint",
|
"make lint-ts",
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user