Skip to content

Commit

Permalink
fix: Add lint-staged dep to all ts packages
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian authored and smartcontracts committed Nov 10, 2021
1 parent cee2a46 commit d7b6b2f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
3 changes: 3 additions & 0 deletions integration-tests/.lintstagedrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"*.{ts,js}":
- eslint

6 changes: 4 additions & 2 deletions integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"test:integration": "hardhat --network optimism test",
"test:integration:live": "NO_NETWORK=true IS_LIVE_NETWORK=true hardhat --network optimism test",
"test:sync": "hardhat --network optimism test sync-tests/*.spec.ts --no-compile",
"clean": "rimraf cache artifacts"
"clean": "rimraf cache artifacts",
"pre-commit": "lint-staged"
},
"devDependencies": {
"@eth-optimism/contracts": "^0.4.14",
Expand Down Expand Up @@ -52,6 +53,7 @@
"mocha": "^8.4.0",
"rimraf": "^3.0.2",
"shelljs": "^0.8.4",
"typescript": "^4.3.5"
"typescript": "^4.3.5",
"lint-staged": "11.0.0"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"eslint-plugin-unicorn": "^32.0.1",
"husky": "^6.0.0",
"lerna": "^4.0.0",
"lint-staged": "11.0.0",
"patch-package": "^6.4.7",
"prettier": "^2.3.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
Expand Down
3 changes: 2 additions & 1 deletion packages/common-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"prettier": "^2.3.1",
"supertest": "^6.1.4",
"ts-mocha": "^8.0.0",
"typescript": "^4.3.5"
"typescript": "^4.3.5",
"lint-staged": "11.0.0"
},
"dependencies": {
"@sentry/node": "^6.3.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/regenesis-surgery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"mocha": "^9.1.2",
"node-fetch": "2.6.5",
"solc": "0.8.7-fixed",
"ts-node": "^10.0.0"
"ts-node": "^10.0.0",
"lint-staged": "11.0.0"
}
}
3 changes: 2 additions & 1 deletion packages/replica-healthcheck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"express": "^4.17.1",
"express-prom-bundle": "^6.3.6",
"node-cron": "^3.0.0",
"prom-client": "^13.1.0"
"prom-client": "^13.1.0",
"lint-staged": "11.0.0"
}
}

0 comments on commit d7b6b2f

Please sign in to comment.