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 ^1.5.3 #20

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

biomejs/biome (@​biomejs/biome)

v1.5.3

Compare Source

LSP
Bug fixes
  • Fix #​1584. Ensure the LSP only registers the formatter once. Contributed by @​nhedger

  • Fix #​1589. Fix invalid formatting of own line comments when they were at the end of an import/export list. Contributed by @​spanishpear

Configuration
Bug fixes
  • Override correctly the recommended preset (#​1349).

    Previously, if unspecified, Biome turned on the recommended preset in overrides.
    This resulted in reporting diagnostics with a severity level set to off.
    This in turn caused Biome to fail.

    Now Biome won't switch on the recommended preset in overrides unless told to do so.

    Contributed by @​Conaclos

  • Don't format ignored files that are well-known JSONC files when files.ignoreUnknown is enabled (#​1607).

    Previously, Biome always formatted files that are known to be JSONC files (e.g. .eslintrc) when files.ignoreUnknown was enabled.

    Contributed by @​Conaclos

Formatter
Bug fixes
  • Fix #​1178, where the line ending option wasn't correctly applied. Contributed by @​ematipico
  • Fix #​1571. Fix invalid formatting of nested multiline comments. Contributed by @​ah-yu
Linter
Bug fixes
Parser
Bug fixes
  • Accept the const modifier for type parameter in method type signature (#​1624).

    The following code is now correctly parsed:

    type Foo = {
      <const T>();
      method<const T>();
    };

    Contributed by @​magic-akari

Website
New
Fixes

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
  • Add an unsafe code fix for noConsoleLog. Contributed by @​vasucp1207

  • useArrowFunction no longer reports function in extends clauses or in a new expression. Contributed by @​Conaclos

    These cases require the presence of a prototype.

  • Add dependency variable names on error message when useExhaustiveDependencies rule shows errors. Contributed by @​mehm8128

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 added the maintenance label Jan 15, 2024
@renovate renovate bot changed the title chore(deps): update dependency @biomejs/biome to ^1.5.2 chore(deps): update dependency @biomejs/biome to ^1.5.3 Jan 22, 2024
@okaryo okaryo merged commit ac2d767 into main Feb 2, 2024
1 check passed
@okaryo okaryo deleted the renovate/devdependencies branch February 2, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant