chore(tooling): add husky and lint-staged
This commit is contained in:
7
lint-staged.config.js
Normal file
7
lint-staged.config.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const config = {
|
||||
"remix/*.{ts,tsx}": () => "tsc -p remix/tsconfig.json --noEmit",
|
||||
"rte/*.{ts,tsx}": () => "tsc -p rte/tsconfig.json --noEmit",
|
||||
"*": "prettier --write",
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user