Skip to content

Commit

Permalink
opt lint
Browse files Browse the repository at this point in the history
  • Loading branch information
6boris committed Dec 5, 2024
1 parent e1d305f commit fedfd44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"no-console": "off",
"not-rely-on-time": "off",
"one-contract-per-file": "off",
"custom-errors": "off",
"no-empty-blocks": "off",
"contract-name-camelcase": "off",
"const-name-snakecase": "off",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"clean": "rm -rf cache out",
"build": "forge build",
"lint": "bun run lint:sol && bun run prettier:check",
"lint:sol": "forge fmt --check && bun solhint \"{script,src,test}/**/*.sol\"",
"lint:sol": "forge fmt --check && bun solhint \"{contracts,foundry/script,foundry/test}/**/*.sol\"",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\" --ignore-path \".prettierignore\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\" --ignore-path \".prettierignore\"",
"test": "forge test",
Expand Down

0 comments on commit fedfd44

Please sign in to comment.