From fedfd449fc6356ef059d04ad4f5a4a915ac4cf86 Mon Sep 17 00:00:00 2001 From: Boris Date: Fri, 6 Dec 2024 00:17:34 +0800 Subject: [PATCH] opt lint --- .solhint.json | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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",