From f3da4c4b6966afc4e946feda29656d4cdf753b29 Mon Sep 17 00:00:00 2001 From: Michal Kimle Date: Fri, 28 Oct 2022 08:02:04 +0200 Subject: [PATCH] Remove depracated prettier option --- .changeset/six-toes-hug.md | 2 ++ .prettierrc | 3 +-- .../EverythingAuthorizer.sol | 13 ++++++------- .../NothingAuthorizer.sol | 13 ++++++------- .../contracts/rrp/interfaces/ITemplateUtilsV0.sol | 6 +----- 5 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 .changeset/six-toes-hug.md diff --git a/.changeset/six-toes-hug.md b/.changeset/six-toes-hug.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/six-toes-hug.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.prettierrc b/.prettierrc index af0be5d701..ff25e7a0c1 100644 --- a/.prettierrc +++ b/.prettierrc @@ -21,8 +21,7 @@ "tabWidth": 4, "useTabs": false, "singleQuote": false, - "bracketSpacing": false, - "explicitTypes": "always" + "bracketSpacing": false } } ] diff --git a/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/EverythingAuthorizer.sol b/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/EverythingAuthorizer.sol index b0071fe8c7..35a38b4077 100644 --- a/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/EverythingAuthorizer.sol +++ b/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/EverythingAuthorizer.sol @@ -4,13 +4,12 @@ pragma solidity 0.8.9; import "@api3/airnode-protocol/contracts/authorizers/interfaces/IAuthorizerV0.sol"; contract EverythingAuthorizer is IAuthorizerV0 { - function isAuthorizedV0( - bytes32, - address, - bytes32, - address, - address - ) external pure override returns (bool) { + function isAuthorizedV0(bytes32, address, bytes32, address, address) + external + pure + override + returns (bool) + { return true; } } diff --git a/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/NothingAuthorizer.sol b/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/NothingAuthorizer.sol index 0bae824154..615122a8aa 100644 --- a/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/NothingAuthorizer.sol +++ b/packages/airnode-examples/contracts/coingecko-cross-chain-authorizer/NothingAuthorizer.sol @@ -4,13 +4,12 @@ pragma solidity 0.8.9; import "@api3/airnode-protocol/contracts/authorizers/interfaces/IAuthorizerV0.sol"; contract NothingAuthorizer is IAuthorizerV0 { - function isAuthorizedV0( - bytes32, - address, - bytes32, - address, - address - ) external pure override returns (bool) { + function isAuthorizedV0(bytes32, address, bytes32, address, address) + external + pure + override + returns (bool) + { return false; } } diff --git a/packages/airnode-protocol/contracts/rrp/interfaces/ITemplateUtilsV0.sol b/packages/airnode-protocol/contracts/rrp/interfaces/ITemplateUtilsV0.sol index 08ccc1173c..16a9efd52d 100644 --- a/packages/airnode-protocol/contracts/rrp/interfaces/ITemplateUtilsV0.sol +++ b/packages/airnode-protocol/contracts/rrp/interfaces/ITemplateUtilsV0.sol @@ -27,9 +27,5 @@ interface ITemplateUtilsV0 { function templates(bytes32 templateId) external view - returns ( - address airnode, - bytes32 endpointId, - bytes memory parameters - ); + returns (address airnode, bytes32 endpointId, bytes memory parameters); }