Skip to content

Commit

Permalink
Fix code style issues with ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Jun 11, 2021
1 parent 9879e98 commit 65e1909
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 103 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
154 changes: 77 additions & 77 deletions src/constants/abis/easyAuction/depositAndPlaceOrder.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
{
"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"
}
]
2 changes: 1 addition & 1 deletion src/constants/abis/easyAuction/easyAuction.json
Original file line number Diff line number Diff line change
Expand Up @@ -852,4 +852,4 @@
"stateMutability": "nonpayable",
"type": "function"
}
]
]
30 changes: 6 additions & 24 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -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"
]
}
"exclude": ["node_modules", "cypress"],
"include": ["**/*.js", "**/*.ts", "**/*.tsx"],
"files": ["src/types.d.ts", "src/images.d.ts", "src/ethereum.d.ts"]
}

0 comments on commit 65e1909

Please sign in to comment.