diff --git a/package.json b/package.json index 16bac41..95887fa 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "lint": "pnpm run lint:sol && pnpm run format:check", "lint:ts": "pnpm prettier --check 'test/**/*.ts' 'scripts/**/*.ts'", "lint:ts-fix": "pnpm prettier --write 'test/**/*.ts' 'scripts/**/*.ts'", + "lint:sol-fix": "pnpm prettier --write 'contracts/**/*.sol' && pnpm solhint 'contracts/**/*.sol' --fix --noPrompt && forge fmt", "lint:fix": "pnpm run lint:sol-fix && pnpm run lint:ts-fix" } } diff --git a/test/SomeTest.sol b/test/SomeTest.sol deleted file mode 100644 index fc3ef9a..0000000 --- a/test/SomeTest.sol +++ /dev/null @@ -1,15 +0,0 @@ -// Skip an individual test -function test_SomeFunction() public { - if (vm.envOr("SKIP_TEST", false)) { - return; - } - // Test code here -} - -// Skip an entire contract -contract SkippedTestContract is Test { - function setUp() public {} - - function test_Function1() public skip {} - function test_Function2() public skip {} -}