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-dev): bump @biomejs/biome from 1.6.4 to 1.7.0 #564

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 15, 2024

Bumps @biomejs/biome from 1.6.4 to 1.7.0.

Release notes

Sourced from @​biomejs/biome's releases.

CLI v1.7.0

Analyzer

Bug fixes

  • Now Biome can detect the script language in Svelte and Vue script blocks more reliably (#2245). Contributed by @​Sec-ant

  • useExhaustiveDependencies no longer reports recursive calls as missing dependencies (#2361). Contributed by @​arendjr

  • useExhaustiveDependencies correctly reports missing dependencies declared using function declarations (#2362). Contributed by @​arendjr

  • Biome now can handle .svelte and .vue files with CRLF as the end-of-line sequence. Contributed by @​Sec-ant

  • noMisplacedAssertion no longer reports method calls by describe, test, it objects (e.g. test.each([])()) (#2443). Contributed by @​unvalley.

  • Biome now can handle .vue files with generic components (#2456).

    <script generic="T extends Record<string, any>" lang="ts" setup>
    //...
    </script>

    Contributed by @​Sec-ant

Enhancements

  • Complete the well-known file lists for JSON-like files. Trailing commas are allowed in .jsonc files by default. Some well-known files like tsconfig.json and .babelrc don't use the .jsonc extension but still allow comments and trailing commas. While others, such as .eslintrc.json, only allow comments. Biome is able to identify these files and adjusts the json.parser.allowTrailingCommas option accordingly to ensure they are correctly parsed. Contributed by @​Sec-ant

  • Fix dedent logic inconsistent with prettier where the indent-style is space and the indent-width is not 2. Contributed by @​mdm317

CLI

New features

  • Add a command to migrate from ESLint

    biome migrate eslint allows you to migrate an ESLint configuration to Biome. The command supports legacy ESLint configurations and new flat ESLint configurations. Legacy ESLint configurations using the YAML format are not supported.

    When loading a legacy ESLint configuration, Biome resolves the extends field. It resolves both shared configurations and plugin presets! To do this, it invokes Node.js.

    Biome relies on the metadata of its rules to determine the equivalent rule of an ESLint rule. A Biome rule is either inspired or roughly identical to an ESLint rules.

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

1.7.0 (2024-04-15)

Analyzer

Bug fixes

  • Now Biome can detect the script language in Svelte and Vue script blocks more reliably (#2245). Contributed by @​Sec-ant

  • useExhaustiveDependencies no longer reports recursive calls as missing dependencies (#2361). Contributed by @​arendjr

  • useExhaustiveDependencies correctly reports missing dependencies declared using function declarations (#2362). Contributed by @​arendjr

  • Biome now can handle .svelte and .vue files with CRLF as the end-of-line sequence. Contributed by @​Sec-ant

  • noMisplacedAssertion no longer reports method calls by describe, test, it objects (e.g. test.each([])()) (#2443). Contributed by @​unvalley.

  • Biome now can handle .vue files with generic components (#2456).

    <script generic="T extends Record<string, any>" lang="ts" setup>
    //...
    </script>

    Contributed by @​Sec-ant

Enhancements

  • Complete the well-known file lists for JSON-like files. Trailing commas are allowed in .jsonc files by default. Some well-known files like tsconfig.json and .babelrc don't use the .jsonc extension but still allow comments and trailing commas. While others, such as .eslintrc.json, only allow comments. Biome is able to identify these files and adjusts the json.parser.allowTrailingCommas option accordingly to ensure they are correctly parsed. Contributed by @​Sec-ant

  • Fix dedent logic inconsistent with prettier where the indent-style is space and the indent-width is not 2. Contributed by @​mdm317

CLI

New features

  • Add a command to migrate from ESLint

    biome migrate eslint allows you to migrate an ESLint configuration to Biome. The command supports legacy ESLint configurations and new flat ESLint configurations. Legacy ESLint configurations using the YAML format are not supported.

    When loading a legacy ESLint configuration, Biome resolves the extends field. It resolves both shared configurations and plugin presets! To do this, it invokes Node.js.

    Biome relies on the metadata of its rules to determine the equivalent rule of an ESLint rule. A Biome rule is either inspired or roughly identical to an ESLint rules.

... (truncated)

Commits
  • 2dce6af release: v1.7.0 (#2414)
  • 6ec264c feat(biome_js_analyze): noFlatMapIdentity (#2324)
  • 75af801 feat(biome_js_analyze): noConstantMathMinMaxClamp (#2404)
  • 58c4b0a refactor: resolve lintdoc warnings (#2440)
  • ce223aa feat(biome_css_analyze): implement noDuplicateFontNames (#2308)
  • b9f716d fix(project): fix JSON schema for stable hook options (#2401)
  • 39139a5 refactor: replace ignoreReact with jsxRuntime setting (#2397)
  • 5809068 feat(migrate-prettier): support overrides field (#2330)
  • 39b91e9 fix(json-schema): remove field options for rules without options (#2331)
  • 2bd95dc feat(lint/noUnusedImports): add ignoreReact option (#2306)
  • See full diff in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.6.4 to 1.7.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.7.0/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 15, 2024
@github-actions github-actions bot merged commit f8d84f3 into dev Apr 15, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dev/biomejs/biome-1.7.0 branch April 15, 2024 16:59
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.

0 participants