Skip to content

chore(deps-dev): bump prettier-plugin-solidity from 1.0.0-dev.23 to 1.0.0-rc.1 #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2022

Bumps prettier-plugin-solidity from 1.0.0-dev.23 to 1.0.0-rc.1.

Release notes

Sourced from prettier-plugin-solidity's releases.

v1.0.0-rc.1

This is our first release candidate for a stable v1.0.0!

This version includes some significant changes:

  • We removed the explicitTypes option, since we believe that this belongs to a linter. The behavior now is the same one that you would get if using explicitTypes: "preserve", meaning that we'll never convert an uint to an uint256 or vice versa.
  • In previous versions, the parameters of a function definition would always be split if there were more than two of them. Starting now, we only split them if the line doesn't fit in line-width. Plus, the way this works is that first the parameters are split, then the modifiers (if they also don't fit in a single line), and finally the return parameters (also only if they don't fit).
  • The exponentiation operator (**) now has spaces around it. This is more consistent with other operators, and it looks better for long variable names (that is, base ** decimals is better than base**decimals). We do know that this is not as nice for some cases (2 ** 10), but we are erring on the side of consistency and a better worst-case scenario.

As an example, a function like this:

contract Foo {
  function f(uint x, uint y, uint z) mod1 mod2 { x**y**z; }
}

would be formatted in the previous version like this:

contract Foo {
    function f(
        uint256 x,
        uint256 y,
        uint256 z
    ) mod1 mod2 {
        x**y**z;
    }
}

and now it will be formatted like this:

contract Foo {
    function f(uint x, uint y, uint z) mod1 mod2 {
        x ** y ** z;
    }
}

Please upgrade to the latest version and let us if you find any issues!

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 4, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 4, 2022

The following labels could not be found: Type: Security Patch.

@netlify
Copy link

netlify bot commented Nov 4, 2022

Deploy Preview for kleros-v2 failed.

Name Link
🔨 Latest commit 1bfa812
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2/deploys/6372e7d07496be0008bbc790

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prettier-plugin-solidity-1.0.0-rc.1 branch from 850fd12 to 0eb5852 Compare November 15, 2022 01:04
Bumps [prettier-plugin-solidity](https://github.com/prettier-solidity/prettier-plugin-solidity) from 1.0.0-dev.23 to 1.0.0-rc.1.
- [Release notes](https://github.com/prettier-solidity/prettier-plugin-solidity/releases)
- [Commits](https://github.com/prettier-solidity/prettier-plugin-solidity/commits/v1.0.0-rc.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-solidity
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/prettier-plugin-solidity-1.0.0-rc.1 branch from 0eb5852 to 1bfa812 Compare November 15, 2022 01:13
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 1bfa812 and detected 0 issues on this pull request.

View more on Code Climate.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jaybuidl jaybuidl changed the base branch from master to chore/patches November 15, 2022 23:39
@jaybuidl jaybuidl merged commit 2784946 into chore/patches Nov 15, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prettier-plugin-solidity-1.0.0-rc.1 branch November 15, 2022 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants