mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27: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": {
|
||||
"./**/*.{js,mjs,jsx,ts,tsx}": [
|
||||
"./**/*.{ts,tsx}": [
|
||||
"npm run prettier",
|
||||
"make lint",
|
||||
"make lint-ts",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user