Skip to content

Commit c8331d5

Browse files
committed
fix: review comments
1 parent 14f4970 commit c8331d5

File tree

5 files changed

+7
-27
lines changed

5 files changed

+7
-27
lines changed

.husky/pre-commit

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
# contracts
5-
cd packages/contracts
5+
pushd packages/contracts
66
npx --no-install lint-staged
7+
popd
78

89
# data-edge
9-
cd ../data-edge
10-
npx --no-install lint-staged
10+
pushd packages/data-edge
11+
npx --no-install lint-staged
12+
popd

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"packageManager": "[email protected]",
99
"workspaces": [
1010
"packages/contracts",
11+
"packages/data-edge",
1112
"packages/eslint-graph-config",
1213
"packages/sdk",
1314
"packages/solhint-graph-config",
14-
"packages/token-distribution",
15-
"packages/data-edge"
15+
"packages/token-distribution"
1616
],
1717
"scripts": {
1818
"postinstall": "husky install",

packages/data-edge/.solhint.json

-15
This file was deleted.

packages/data-edge/.solhintignore

-1
This file was deleted.

packages/data-edge/package.json

-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"prettier --write"
3939
]
4040
},
41-
"husky": {
42-
"hooks": {
43-
"pre-commit": "lint-staged",
44-
"pre-push": "git diff HEAD --quiet && yarn lint && yarn test"
45-
}
46-
},
4741
"author": "The Graph Team",
4842
"license": "GPL-2.0-or-later",
4943
"devDependencies": {

0 commit comments

Comments
 (0)