github biomejs/biome cli/v1.8.4-nightly.a579bf7
CLI v1.8.4-nightly.a579bf7

Analyzer

Enhancements

CLI

New features

  • Add --graphql-linter-enabled option, to control whether the linter should enabled or not for GraphQL files. Contributed by @ematipico

Configuration

  • Add support for loading configuration from .editorconfig files (#1724). Contributed by @dyc3
    Configuration supplied in .editorconfig will be overridden by the configuration in biome.json. Support is disabled by default and can be enabled by adding the following to your formatter configuration in biome.json:
    {
      "formatter": {
        "useEditorconfig": true
      }
    }

Editors

Formatter

JavaScript APIs

Linter

Enhancements

  • noInvalidUseBeforeDeclaration now reports direct use of an enum member before its declaration.

    In the following code, A is reported as use before its declaration.

    enum E {
      B = A << 1,
      A = 1,
    }

    Contributed by @Conaclos

  • useFilenamingConvention now supports unicase letters.

    unicase letters have a single case: they are neither uppercase nor lowercase.
    Biome now accepts filenames in unicase.
    For example, the filename 안녕하세요 is now accepted.

    We still reject a name that mixes unicase characters with lowercase or uppercase characters.
    For example, the filename A안녕하세요 is rejected.

    This change also fixes #3353.
    Filenames consisting only of numbers are now accepted.

    Contributed by @Conaclos

New features

  • Add support for GraphQL linting. Contributed by @ematipico

Bug fixes

  • Don't request alt text for elements hidden from assistive technologies (#3316). Contributed by @robintown
  • Fix [#3149] crashes that occurred when applying the noUselessFragments unsafe fixes in certain scenarios. Contributed by @unvalley
  • noExcessiveNestedTestSuites: Fix another edge case where the rule would alert on heavily nested zod schemas. Contributed by @dyc3

New rules

Parser

Bug fixes

.class {
  && {
    color: red;
  }
}

What's Changed

Other changes

New Contributors

Full Changelog: cli/v1.8.3...cli/v1.8.4-nightly.a579bf7

Don't miss a new biome release

NewReleases is sending notifications on new releases.