Skip to content

Commit

Permalink
chore: Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
akashiceth committed Jun 16, 2022
1 parent dde0950 commit 22581d5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

yarn lint
yarn format:check
6 changes: 4 additions & 2 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", "0.8.9"],
"func-visibility": [{ "ignoreConstructors": true }],
"func-visibility": ["error", { "ignoreConstructors": true }],
"func-name-mixedcase": "off",
"no-inline-assembly": "off",
"not-rely-on-time": "off",
"reason-string": "off",
"var-name-mixedcase": "off",
"avoid-low-level-calls": "off"
"avoid-low-level-calls": "off",
"no-empty-blocks": "off"
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"compile:force": "hardhat compile --force",
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,sol,json,yaml,md}'",
"format:write": "prettier --write '**/*.{js,jsx,ts,tsx,json,yaml,md}'",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"lint": "yarn lint:sol && yarn lint:ts && yarn format:check",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:ts": "eslint '**/*.{js,jsx,ts,tsx}'",
"prepare": "husky install",
"test": "hardhat test",
"test:gas": "REPORT_GAS=true hardhat test",
Expand Down
1 change: 0 additions & 1 deletion tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ task("deploy:full", "Deploy all contracts").setAction(async (_, { network, run }
executionManager.address,
royaltyFeeManager.address,
weth,
// getParamPerNetwork(FeeRecipient, network.name),
await deployer.getAddress(),
],
true
Expand Down

0 comments on commit 22581d5

Please sign in to comment.