Skip to content

Commit 8415549

Browse files
committed
chore(deps-dev): bump prettier, rm pretty-quick, install lint-staged
1 parent 03b54a4 commit 8415549

File tree

5 files changed

+683
-321
lines changed

5 files changed

+683
-321
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": ["@kth/eslint-config-kth", "plugin:cypress/recommended"]
2+
"extends": ["@kth/eslint-config-kth"]
33
}

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
./node_modules/.bin/pretty-quick --staged
4+
npx lint-staged

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ APPINSIGHTS_INSTRUMENTATIONKEY=[key]
197197
REDIS_URI=[uri]
198198
```
199199

200+
## Pre-\*\*-git-hooks
201+
202+
We use `husky` to run [pre-commit](/.husky/pre-commit) and [pre-push](/.husky/pre-push) hooks and `lint-staged` to run eslint and prettier.
203+
200204
## Nomenclature
201205

202206
| Name | Aliases | Example | Notes |

0 commit comments

Comments
 (0)