Skip to content

Commit 1340c83

Browse files
authored
Remove unnecessary lines from husky/lint-staged scripts (#557)
1 parent 5c81f84 commit 1340c83

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@
114114
"lint-staged": {
115115
"*.ts": [
116116
"eslint --fix",
117-
"prettier --write",
118-
"git add"
117+
"prettier --write"
119118
]
120119
}
121120
}

0 commit comments

Comments
 (0)