refactor: substitute "forge fmt" for "prettier-plugin-solidity"

build: remove "prettier-plugin-solidity" and "solhint-plugin-prettier" deps
chore: add "fmt" configuration in Foundry config
chore: delete solidity override from Prettier rules
chore: delete solidity rules from Solhint config
chore: modify scripts to run Prettier on all files except "*.sol"
test: document "setUp" function
This commit is contained in:
Paul Razvan Berg
2023-01-03 21:18:14 +02:00
parent 0ebca896c8
commit 6d027d098b
7 changed files with 15 additions and 91 deletions

View File

@@ -8,6 +8,7 @@ import { StdCheats } from "forge-std/StdCheats.sol";
/// @dev See the "Writing Tests" section in the Foundry Book if this is your first time with Forge.
/// https://book.getfoundry.sh/forge/writing-tests
contract FooTest is PRBTest, StdCheats {
/// @dev An optional function invoked before each test case is run
function setUp() public {
// solhint-disable-previous-line no-empty-blocks
}