-
Notifications
You must be signed in to change notification settings - Fork 11
/
.prettierrc
59 lines (59 loc) · 1.44 KB
/
.prettierrc
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"printWidth": 100,
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "all",
"proseWrap": "always",
"overrides": [
{
"files": ["packages/dma-contracts/contracts/libs/DS/DSGuard.sol"],
"options": {
"printWidth": 100,
"tabWidth": 2,
"compiler": "0.4.24",
"useTabs": false,
"singleQuote": false,
"bracketSpacing": true
}
},
{
"files": [
"packages/dma-contracts/contracts/libs/DS/DSProxy.sol",
"./contracts/libs/DS/DSProxyRegistry.sol"
],
"options": {
"printWidth": 100,
"tabWidth": 2,
"compiler": "0.5.17",
"useTabs": false,
"singleQuote": false,
"bracketSpacing": true
}
},
{
"files": ["packages/dma-contracts/contracts/morphoblue/Morpho.sol"],
"options": {
"compiler": "0.8.19"
}
},
{
"files": "*.sol",
"options": {
"printWidth": 100,
"tabWidth": 2,
"compiler": "0.8.15",
"useTabs": false,
"singleQuote": false,
"bracketSpacing": true
},
"excludeFiles": [
"packages/dma-contracts/contracts/libs/DS/DSGuard.sol",
"packages/dma-contracts/contracts/libs/DS/DSProxy.sol",
"packages/dma-contracts/contracts/libs/DS/DSProxyRegistry.sol",
"packages/dma-contracts/contracts/morphoblue/Morpho.sol"
]
}
]
}