diff --git a/.eslintrc.js b/.eslintrc.js index eeef34680..6868e91b2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,7 +41,7 @@ module.exports = { ], rules: { '@typescript-eslint/explicit-function-return-type': 'off', - 'prettier/prettier': ["error", { "endOfLine": "auto" }], + 'prettier/prettier': ['error', { endOfLine: 'auto' }], '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/ban-types': 'off', 'react/prop-types': 'off', diff --git a/src/constants/abis/easyAuction/depositAndPlaceOrder.json b/src/constants/abis/easyAuction/depositAndPlaceOrder.json index 8d2a8d5e7..8fcef3c7d 100644 --- a/src/constants/abis/easyAuction/depositAndPlaceOrder.json +++ b/src/constants/abis/easyAuction/depositAndPlaceOrder.json @@ -1,78 +1,78 @@ [ - { - "inputs": [ - { - "internalType": "address", - "name": "easyAuctionAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_nativeTokenWrapper", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "auctionId", - "type": "uint256" - }, - { - "internalType": "uint96[]", - "name": "_minBuyAmounts", - "type": "uint96[]" - }, - { - "internalType": "bytes32[]", - "name": "_prevSellOrders", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "allowListCallData", - "type": "bytes" - } - ], - "name": "depositAndPlaceOrder", - "outputs": [ - { - "internalType": "uint64", - "name": "userId", - "type": "uint64" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "easyAuction", - "outputs": [ - { - "internalType": "contract EasyAuction", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "nativeTokenWrapper", - "outputs": [ - { - "internalType": "contract IWETH", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } - ] \ No newline at end of file + { + "inputs": [ + { + "internalType": "address", + "name": "easyAuctionAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "_nativeTokenWrapper", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "auctionId", + "type": "uint256" + }, + { + "internalType": "uint96[]", + "name": "_minBuyAmounts", + "type": "uint96[]" + }, + { + "internalType": "bytes32[]", + "name": "_prevSellOrders", + "type": "bytes32[]" + }, + { + "internalType": "bytes", + "name": "allowListCallData", + "type": "bytes" + } + ], + "name": "depositAndPlaceOrder", + "outputs": [ + { + "internalType": "uint64", + "name": "userId", + "type": "uint64" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "easyAuction", + "outputs": [ + { + "internalType": "contract EasyAuction", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "nativeTokenWrapper", + "outputs": [ + { + "internalType": "contract IWETH", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/constants/abis/easyAuction/easyAuction.json b/src/constants/abis/easyAuction/easyAuction.json index 951b66ffa..e2df2247d 100644 --- a/src/constants/abis/easyAuction/easyAuction.json +++ b/src/constants/abis/easyAuction/easyAuction.json @@ -852,4 +852,4 @@ "stateMutability": "nonpayable", "type": "function" } -] \ No newline at end of file +] diff --git a/tsconfig.json b/tsconfig.json index ce6ef84e6..ea5b6d125 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": false, @@ -19,24 +15,10 @@ "jsx": "react", "downlevelIteration": true, "allowSyntheticDefaultImports": true, - "types": [ - "react-spring", - "jest" - ], + "types": ["react-spring", "jest"], "noFallthroughCasesInSwitch": true }, - "exclude": [ - "node_modules", - "cypress" - ], - "include": [ - "**/*.js", - "**/*.ts", - "**/*.tsx" - ], - "files": [ - "src/types.d.ts", - "src/images.d.ts", - "src/ethereum.d.ts" - ] -} \ No newline at end of file + "exclude": ["node_modules", "cypress"], + "include": ["**/*.js", "**/*.ts", "**/*.tsx"], + "files": ["src/types.d.ts", "src/images.d.ts", "src/ethereum.d.ts"] +}