Commit 3cf4d0c7 authored by Yannick Li's avatar Yannick Li
Browse files

Enable Prettier pre-commit on tsx files

parent ee7eece0
...@@ -58,6 +58,6 @@ ...@@ -58,6 +58,6 @@
}, },
"lint-staged": { "lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix", "*.{js,ts,tsx}": "eslint --cache --fix",
"*.{js,ts,css,md,json,yml}": "prettier --write" "*.{js,ts,tsx,css,md,json,yml}": "prettier --write"
} }
} }
...@@ -56,6 +56,6 @@ ...@@ -56,6 +56,6 @@
}, },
"lint-staged": { "lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix", "*.{js,ts,tsx}": "eslint --cache --fix",
"*.{js,ts,css,md,json,yml}": "prettier --write" "*.{js,ts,tsx,css,md,json,yml}": "prettier --write"
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment