Skip to content
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

chore(deps): update dependency @biomejs/biome to v1.5.2 #13

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/biome (source) 1.5.1 -> 1.5.2 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/biome)

v1.5.2

Compare Source

CLI
Bug fixes
  • Fix #​1512 by skipping verbose diagnostics from the count. Contributed by @​ematipico

  • Correctly handle cascading include and ignore.

    Previously Biome incorrectly included files that were included at tool level and ignored at global level.
    In the following example, file.js' was formatted when it should have been ignored. Now, Biome correctly ignores the directory ./src/sub/`.

    ❯ tree src
      src
      └── sub
          └── file.js
    
    ❯ cat biome.json
      {
        "files": { "ignore": ["./src/sub/"] },
        "formatter": { "include": ["./src"] }
      }

    Contributed by @​Conaclos

  • Don't emit verbose warnings when a protected file is ignored.

    Some files, such as package.json and tsconfig.json, are protected.
    Biome emits a verbose warning when it encounters a protected file.

    Previously, Biome emitted this verbose warning even if the file was ignored by the configuration.
    Now, it doesn't emit verbose warnings for protected files that are ignored.

    Contributed by @​Conaclos

  • overrides no longer affect which files are ignored. Contributed by @​Conaclos

  • The file biome.json can't be ignored anymore. Contributed by @​ematipico

  • Fix #​1541 where the content of protected files wasn't returned to stdout. Contributed by @​ematipico

  • Don't handle CSS files, the formatter isn't ready yet. Contributed by @​ematipico

Configuration
Bug fixes
  • Fix 1440, a case where extends and overrides weren't correctly emitting the final configuration. Contributed by @​arendjr

  • Correctly handle include when ignore is set (#​1468). Contributed by @​Conaclos

    Previously, Biome ignored include if ignore was set.
    Now, Biome check both include and ignore.
    A file is processed if it is included and not ignored.
    If include is not set all files are considered included.

Formatter
Bug fixes
  • Fix placement of comments before * token in generator methods with decorators. #​1537 Contributed by @​ah-yu

  • Fix #​1406. Ensure comments before the async keyword are placed before it. Contributed by @​ah-yu

  • Fix #​1172. Fix placement of line comment after function expression parentheses, they are now attached to first statement in body. Contributed by @​kalleep

  • Fix #​1511 that made the JavaScript formatter crash. Contributed @​Conaclos

Linter
Enhancements
Bug fixes
  • The fix of useArrowFunction now adds parentheses around the arrow function in more cases where it is needed (#​1524).

    A function expression doesn't need parentheses in most expressions where it can appear.
    This is not the case with the arrow function.
    We previously added parentheses when the function appears in a call or member expression.
    We now add parentheses in binary-like expressions and other cases where they are needed, hopefully covering all cases.

    Previously:

    - f = f ?? function() {};
    + f = f ?? () => {};

    Now:

    - f = f ?? function() {};
    + f = f ?? (() => {});

    Contributed by @​Conaclos

  • Fix #​1514. Fix autofix suggestion to avoid the syntax error in no_useless_fragments. Contributed by @​togami2864


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - "before 4am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) January 16, 2024 01:07
@renovate renovate bot merged commit e7ff0f4 into main Jan 16, 2024
1 check passed
@renovate renovate bot deleted the renovate/biomejs-biome-1.x branch January 16, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants