Skip to content

Commit

Permalink
Remove depracated prettier option
Browse files Browse the repository at this point in the history
  • Loading branch information
amarthadan committed Oct 28, 2022
1 parent 8d2ac2f commit 7ed422e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 21 deletions.
2 changes: 2 additions & 0 deletions .changeset/six-toes-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false,
"explicitTypes": "always"
"bracketSpacing": false
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 7ed422e

Please sign in to comment.