mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
refactor: use lint-staged.config.cjs as configuration for lint-staged
This commit is contained in:
5
lint-staged.config.cjs
Normal file
5
lint-staged.config.cjs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module.exports = {
|
||||||
|
"**/*.{ts,tsx,md}": [
|
||||||
|
"prettier --write"
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -23,10 +23,5 @@
|
|||||||
"workspaces": [
|
"workspaces": [
|
||||||
"apps/*",
|
"apps/*",
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
|
||||||
"lint-staged": {
|
|
||||||
"**/*.{ts,tsx,md}": [
|
|
||||||
"prettier --write"
|
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user