Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

chore(deps): update dependency @biomejs/biome to v1.2.0 #240

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

biomejs/biome (@​biomejs/biome)

v1.2.0

Compare Source

CLI
New features
  • Add new options to customize the behaviour the formatter based on the language of the file
    • --json-formatter-enabled
    • --json-formatter-indent-style
    • --json-formatter-indent-size
    • --json-formatter-line-width
    • --javascript-formatter-enabled
    • --javascript-formatter-indent-style
    • --javascript-formatter-indent-size
    • --javascript-formatter-line-width
Bug fixes
  • Fix a bug where --errors-on-warning didn't work when running biome ci command.
Configuration
New features
  • Add new options to customize the behaviour of the formatter based on the language of the file
    • json.formatter.enabled
    • json.formatter.indentStyle
    • json.formatter.indentSize
    • json.formatter.lineWidth
    • javascript.formatter.enabled
    • javascript.formatter.indentStyle
    • javascript.formatter.indentSize
    • javascript.formatter.lineWidth
Linter
Promoted rules

New rules are incubated in the nursery group.
Once stable, we promote them to a stable group.
The following rules are promoted:

New rules
Removed rules
  • Remove noConfusingArrow.

    Code formatters, such as prettier and Biome, always adds parentheses around the parameter or the body of an arrow function.
    This makes the rule useless.

    Contributed by @​Conaclos

Enhancements
  • noFallthroughSwitchClause now relies on control flow analysis to report most of switch clause fallthrough. Contributed by @​Conaclos

  • noAssignInExpressions no longer suggest code fixes. Most of the time the suggestion didn't match users' expectations. Contributed by @​Conaclos

  • noUselessConstructor no longer emits safe code fixes. Contributed by @​Conaclos

    All code fixes are now emitted as unsafe code fixes.
    Removing a constructor can change the behavior of a program.

  • useCollapsedElseIf now only provides safe code fixes. Contributed by @​Conaclos

  • noUnusedVariables now reports more cases.

    The rule is now able to ignore self-writes.
    For example, the rule reports the following unused variable:

    let a = 0;
    a++;
    a += 1;

    The rule is also capable of detecting an unused declaration that uses itself.
    For example, the rule reports the following unused interface:

    interface I {
      instance(): I
    }

    Finally, the rule now ignores all TypeScript declaration files,
    including global declaration files.

    Contributed by @​Conaclos

Bug fixes
VSCode
Enhancements
  • Improve server binary resolution when using certain package managers, notably pnpm.

    The new strategy is to point to node_modules/.bin/biome path,
    which is consistent for all package managers.


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 requested a review from gmsgowtham September 15, 2023 15:29
@renovate renovate bot force-pushed the renovate/biomejs-biome-1.x branch from b8ef0f6 to b705598 Compare September 15, 2023 15:33
@gmsgowtham gmsgowtham merged commit c2ea339 into main Sep 15, 2023
4 checks passed
@gmsgowtham gmsgowtham deleted the renovate/biomejs-biome-1.x branch September 15, 2023 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant