refactor: use lint-staged.config.cjs as configuration for lint-staged

This commit is contained in:
Nicholas Sylke
2023-08-15 16:02:58 -05:00
committed by Mythie
parent 9783e16656
commit 58d765924f
2 changed files with 6 additions and 6 deletions

5
lint-staged.config.cjs Normal file
View File

@ -0,0 +1,5 @@
module.exports = {
"**/*.{ts,tsx,md}": [
"prettier --write"
]
}

View File

@ -23,10 +23,5 @@
"workspaces": [
"apps/*",
"packages/*"
],
"lint-staged": {
"**/*.{ts,tsx,md}": [
"prettier --write"
]
}
]
}