Skip to content

Commit

Permalink
fix: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikol committed Mar 25, 2024
1 parent 14f4970 commit c8331d5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 27 deletions.
8 changes: 5 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
. "$(dirname -- "$0")/_/husky.sh"

# contracts
cd packages/contracts
pushd packages/contracts
npx --no-install lint-staged
popd

# data-edge
cd ../data-edge
npx --no-install lint-staged
pushd packages/data-edge
npx --no-install lint-staged
popd
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"packageManager": "[email protected]",
"workspaces": [
"packages/contracts",
"packages/data-edge",
"packages/eslint-graph-config",
"packages/sdk",
"packages/solhint-graph-config",
"packages/token-distribution",
"packages/data-edge"
"packages/token-distribution"
],
"scripts": {
"postinstall": "husky install",
Expand Down
15 changes: 0 additions & 15 deletions packages/data-edge/.solhint.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/data-edge/.solhintignore

This file was deleted.

6 changes: 0 additions & 6 deletions packages/data-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "git diff HEAD --quiet && yarn lint && yarn test"
}
},
"author": "The Graph Team",
"license": "GPL-2.0-or-later",
"devDependencies": {
Expand Down

0 comments on commit c8331d5

Please sign in to comment.