跳转到内容

更新日志

Version 2.0.1

Patch Changes

  • #6425 00e97ad Thanks @siketyan! - Fixed #6391: the rule noUselessFragments no longer reports a fragment that contains whitespaces which aren’t trimmed by the runtime.

  • #6417 dd88565 Thanks @ematipico! - Fixed #6360: The following pseudo classes and elements are no longer reported by noUnknownPseudoClass or noUnknownPseudoElement rules.

    • :open
    • ::details-content
    • ::prefix
    • ::search-text
    • ::suffix
  • #6417 dd88565 Thanks @ematipico! - Fixed #6357, where the boolean values weren’t correctly merged when using the extends functionality. Now Biome correctly merges the values.

  • #6417 dd88565 Thanks @ematipico! - Fixed #6341: Fixed an issue where Biome would throw an error for the language tags nb and nn.

  • #6385 94142dd Thanks @siketyan! - Fixed #6377: The rule noSelfCompare now correctly compares two function calls with different arguments.

  • #6417 dd88565 Thanks @ematipico! - Fixed #6278: useExhaustiveDependencies no longer adds duplicated dependencies into the list.

  • #6417 dd88565 Thanks @ematipico! - Fix #6396, where vi.useFakeTimers() and vi.useRealTimers() incorrectly triggered React Hooks-related rules

  • #6417 dd88565 Thanks @ematipico! - Fixed a bug where Biome didn’t correctly discover nested configuration files when using the lint command and the linter is disabled in the root configuration.

  • #6422 594ec50 Thanks @ematipico! - Removed the experimental rename feature from Biome LSP, which caused some issues inside existing editors such as Zed.

  • #6388 c6942d2 Thanks @siketyan! - Fixed #6375: the formatter no longer inserts an extra empty line before a semicolon when it has leading comments.