From bd437336867e34e47398a54f8b0632ab765890fd Mon Sep 17 00:00:00 2001 From: Arr00 <13561405+arr00@users.noreply.github.com> Date: Wed, 7 Aug 2024 23:01:37 -0400 Subject: [PATCH] lint `GovernorBravoDelegate` --- .prettierignore | 7 ++++++- .prettierrc | 11 +++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore index 832acef..32e782b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,5 +2,10 @@ node_modules artifacts cache coverage* -contracts* +contracts/test* +contracts/SafeMath.sol +contracts/Timelock.sol +contracts/Comp.sol +contracts/GovernorBravoDelegator.sol +contracts/GovernorBravoInterfaces.sol typechain-types \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..7f7375e --- /dev/null +++ b/.prettierrc @@ -0,0 +1,11 @@ +{ + "plugins": ["prettier-plugin-solidity"], + "overrides": [ + { + "files": "*.sol", + "options": { + "bracketSpacing": true + } + } + ] + } \ No newline at end of file