-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.prettierrc.yml
41 lines (38 loc) · 1006 Bytes
/
.prettierrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
arrowParens: avoid
bracketSpacing: true
endOfLine: auto
printWidth: 120
singleQuote: false
tabWidth: 2
trailingComma: all
plugins: [prettier-plugin-solidity]
overrides:
# General Config
- files: ["*.sol"]
options:
compiler: 0.5.17
- files: [test/**/*.sol]
options:
compiler: ""
# File-specific Config
- files:
[
contracts/common/IERC20MintableBurnable.sol,
contracts/common/SafeERC20MintableBurnable.sol,
contracts/goodDollar/**/*.sol,
contracts/governance/**/*.sol,
contracts/interfaces/*.sol,
contracts/libraries/TradingLimits.sol,
contracts/oracles/Chainlink*.sol,
contracts/swap/Broker.sol,
contracts/tokens/patched/*.sol,
contracts/tokens/StableTokenV2.sol,
]
options:
compiler: 0.8.18
- files:
- contracts/interfaces/IBrokerAdmin.sol
- contracts/interfaces/ICeloToken.sol
- contracts/interfaces/IExchange.sol
options:
compiler: 0.5.17