diff --git a/.solhint.json b/.solhint.json index cf6ab80..8e7809c 100644 --- a/.solhint.json +++ b/.solhint.json @@ -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", diff --git a/package.json b/package.json index 7109490..107c896 100644 --- a/package.json +++ b/package.json @@ -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",