Skip to content

Commit cc4107a

Browse files
fix: lint ts
1 parent 60ed8bf commit cc4107a

23 files changed

+873
-417
lines changed

.prettierignore

+8
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
lib
2+
artifacts
3+
cache
4+
cache_hardhat
5+
6+
dist
7+
node_modules
8+
out
9+
typechain-types

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"typescript": "^4.6.4"
5050
},
5151
"scripts": {
52-
"lint": "prettier --write **.sol",
52+
"lint": "prettier \"./**\" --write --ignore-unknown",
5353
"build": "hardhat export-abi && tsc --project lib.tsconfig.json",
5454
"abi": "hardhat export-abi"
5555
},

scripts/constants/bridge.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const bridgeConsts = {
44
inbox: {
55
mainnet: "0x4Dbd4fc535Ac27206064B68FfCf827b0A60BAB3f",
66
goerli: "0x6BEbC4925716945D46F0Ec336D5C2564F419682C",
7-
"arbitrum": ethers.constants.AddressZero,
7+
arbitrum: ethers.constants.AddressZero,
88
"arbitrum-goerli": ethers.constants.AddressZero,
99
},
1010
fxChild: {

scripts/constants/config.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ export const proposeGasLimit: {
9696
mainnet: 300000,
9797
};
9898

99-
export const EXECUTOR_ROLE = "0x9cf85f95575c3af1e116e3d37fd41e7f36a8a373623f51ffaaa87fdd032fa767"
99+
export const EXECUTOR_ROLE =
100+
"0x9cf85f95575c3af1e116e3d37fd41e7f36a8a373623f51ffaaa87fdd032fa767";
100101

101102
export const switchboards = {
102103
"arbitrum-goerli": {
@@ -151,4 +152,4 @@ export const switchboards = {
151152
switchboard: NativeSwitchboard.POLYGON_L1,
152153
},
153154
},
154-
};
155+
};

scripts/constants/networks.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export const chainIds = {
1313
hardhat: 31337,
1414
mainnet: 1,
1515
"bsc-testnet": 97,
16-
"arbitrum": 42161,
16+
arbitrum: 42161,
1717
"arbitrum-goerli": 421613,
18-
"optimism": 10,
18+
optimism: 10,
1919
"optimism-goerli": 420,
2020
"polygon-mainnet": 137,
2121
"polygon-mumbai": 80001,

0 commit comments

Comments
 (0)