Skip to content

Commit

Permalink
chore: update npm commands and solhint files
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jun 6, 2024
1 parent 641945c commit e44cb27
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"submodule:reset": "git submodule update --recursive",
"test": "npm run test:unit",
"test:all": "script/coverage_patch_deployer.sh && npm run test:unit && npm run test:integration",
"test:integration": "export FOUNDRY_PROFILE=integration && script/coverage_patch_deployer.sh && forge test ",
"test:unit": "script/coverage_patch_deployer.sh && forge test"
"test:integration": "export FOUNDRY_PROFILE=integration && forge test ",
"test:unit": "forge test"
},
"devDependencies": {
"@proxima-oss/eslint-config": "6.0.1",
Expand Down
9 changes: 9 additions & 0 deletions src/.solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", ">=0.8.0"],
"func-visibility": ["error", { "ignoreConstructors": true }],
"not-rely-on-time": "off",
"no-inline-assembly": "off"
}
}
12 changes: 12 additions & 0 deletions test/.solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", ">=0.8.0"],
"func-visibility": ["error", { "ignoreConstructors": true }],
"avoid-low-level-calls": "off",
"not-rely-on-time": "off",
"func-name-mixedcase": "off",
"var-name-mixedcase": "off",
"no-inline-assembly": "off"
}
}

0 comments on commit e44cb27

Please sign in to comment.