diff --git a/manifests/b/BiomeJS/Biome/2.3.6/BiomeJS.Biome.installer.yaml b/manifests/b/BiomeJS/Biome/2.3.6/BiomeJS.Biome.installer.yaml new file mode 100644 index 00000000000..ef285c2b127 --- /dev/null +++ b/manifests/b/BiomeJS/Biome/2.3.6/BiomeJS.Biome.installer.yaml @@ -0,0 +1,25 @@ +# Created with komac v2.13.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.10.0.schema.json + +PackageIdentifier: BiomeJS.Biome +PackageVersion: 2.3.6 +InstallerType: portable +UpgradeBehavior: install +Commands: +- biome +ReleaseDate: 2025-11-17 +Installers: +- Architecture: x64 + InstallerUrl: https://github.com/biomejs/biome/releases/download/@biomejs/biome@2.3.6/biome-win32-x64.exe + InstallerSha256: BA2393F879E57A2860E419DF10FE412D11B48AA45A4C099A5943F446DC101723 + Dependencies: + PackageDependencies: + - PackageIdentifier: Microsoft.VCRedist.2015+.x64 +- Architecture: arm64 + InstallerUrl: https://github.com/biomejs/biome/releases/download/@biomejs/biome@2.3.6/biome-win32-arm64.exe + InstallerSha256: 13B976FC47DB35D2712B3DD90CA8D439AE7DE6F37955D6B5F7CD3339228D106B + Dependencies: + PackageDependencies: + - PackageIdentifier: Microsoft.VCRedist.2015+.arm64 +ManifestType: installer +ManifestVersion: 1.10.0 diff --git a/manifests/b/BiomeJS/Biome/2.3.6/BiomeJS.Biome.locale.en-US.yaml b/manifests/b/BiomeJS/Biome/2.3.6/BiomeJS.Biome.locale.en-US.yaml new file mode 100644 index 00000000000..892dfffc9e6 --- /dev/null +++ b/manifests/b/BiomeJS/Biome/2.3.6/BiomeJS.Biome.locale.en-US.yaml @@ -0,0 +1,225 @@ +# Created with komac v2.13.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.10.0.schema.json + +PackageIdentifier: BiomeJS.Biome +PackageVersion: 2.3.6 +PackageLocale: en-US +Publisher: BiomeJS +PublisherUrl: https://biomejs.dev/ +PublisherSupportUrl: https://github.com/biomejs/biome/issues +Author: Biome Developers and Contributors +PackageName: Biome +PackageUrl: https://biomejs.dev/ +License: Apache-2.0 +Copyright: Copyright (c) 2023-present Biome Developers and Contributors +ShortDescription: Biome is a toolchain for web projects, aimed at providing functionalities to maintain them. It offers a formatter and linter, usable via CLI and LSP. +Moniker: biome +Tags: +- css +- formatter +- javascript +- json +- jsx +- linter +- static-code-analysis +- typescript +- web +ReleaseNotes: |- + 2.3.6 + Patch Changes + - #8100 82b9a8e Thanks @Netail! - Added the nursery rule useFind. Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result. + Invalid: + [1, 2, 3].filter((x) => x > 1)[0]; + [1, 2, 3].filter((x) => x > 1).at(0); + - #8118 dbc7021 Thanks @hirokiokada77! - Fixed #8117: useValidLang now accepts valid BCP 47 language tags with script subtags. + Valid: + + - #7672 f1d5725 Thanks @Netail! - Added the nursery rule useConsistentGraphqlDescriptions, requiring all descriptions to follow the same style (either block or inline) inside GraphQL files. + Invalid: + enum EnumValue { + "this is a description" + DEFAULT + } + Valid: + enum EnumValue { + """ + this is a description + """ + DEFAULT + } + - #8026 f102661 Thanks @matanshavit! - Fixed #8004: noParametersOnlyUsedInRecursion now correctly detects recursion by comparing function bindings instead of just names. + Previously, the rule incorrectly flagged parameters when a method had the same name as an outer function but called the outer function (not itself): + function notRecursive(arg) { + return arg; + } + const obj = { + notRecursive(arg) { + return notRecursive(arg); // This calls the outer function, not the method itself + }, + }; + Biome now properly distinguishes between these cases and will not report false positives. + - #8097 5fc5416 Thanks @dyc3! - Added the nursery rule noVueVIfWithVFor. This rule disallows v-for and v-if on the same element. + +
+ {{ item.name }} +
+ - #8085 7983940 Thanks @Netail! - Added the nursery rule noForIn. Disallow iterating using a for-in loop. + Invalid: + for (const i in array) { + console.log(i, array[i]); + } + - #8086 2b41e82 Thanks @matanshavit! - Fixed #8045: The noNestedTernary rule now correctly detects nested ternary expressions even when they are wrapped in parentheses (e.g. foo ? (bar ? 1 : 2) : 3). + Previously, the rule would not flag nested ternaries like foo ? (bar ? 1 : 2) : 3 because the parentheses prevented detection. The rule now looks through parentheses to identify nested conditionals. + Previously not detected (now flagged): + const result = foo ? (bar ? 1 : 2) : 3; + Still valid (non-nested with parentheses): + const result = foo ? bar : baz; + - #8075 e403868 Thanks @YTomm! - Fixed #7948: The useReadonlyClassProperties code fix when checkAllProperties is enabled will no longer insert a newline after readonly and the class property. + - #8102 47d940e Thanks @lucasweng! - Fixed #8027. useReactFunctionComponents no longer reports class components that implement componentDidCatch using class expressions. + The rule now correctly recognizes error boundaries defined as class expressions: + const ErrorBoundary = class extends Component { + componentDidCatch(error, info) {} + render() { + return this.props.children; + } + }; + - #8097 5fc5416 Thanks @dyc3! - Added the nursery rule useVueHyphenatedAttributes, which encourages using kebab case for attribute names, per the Vue style guide's recommendations. + + + + + - #8108 0f0a658 Thanks @Netail! - Added the nursery rule noSyncScripts. Prevent the usage of synchronous scripts. + Invalid: +