github biomejs/biome lsp/v1.6.2
VSCode Extension v1.6.2

10 months ago

Analyzer

Bug fixes

CLI

Bug fixes

  • Fix how overrides behave. Now ignore and include apply or not the override pattern, so they override each other.
    Now the options inside overrides override the top-level options.
  • Bootstrap the logger only when needed. Contributed by @ematipico

Editors

Bug fixes

  • Fix #592, by changing binary resolution in the IntelliJ plugin. Contributed by @Joshuabaker2

Formatter

Bug fixes

  • Apply the correct layout when the right hand of an assignment expression is a await expression or a yield expression. Contributed by @ematipico
  • Fix #303, where nested arrow functions didn't break. Contributed by @victor-teles

Linter

Bug fixes

  • Fix #175 which made noRedeclare report index signatures using the name of a variable in the parent scope.

  • Fix #557 which made noUnusedImports report imported types used in typeof expression. Contributed by @Conaclos

  • Fix #576 by removing some erroneous logic in noSelfAssign. Contributed by @ematipico

  • Fix #595 by updating unsafe-apply logic to avoid unexpected errors in noUselessFragments. Contributed by @nissy-dev

  • Fix #591 which made noRedeclare report type parameters with identical names but in different method signatures. Contributed by @Conaclos

  • Support more a11y roles and fix some methods for a11y lint rules Contributed @nissy-dev

  • Fix useExhaustiveDependencies, by removing useContext, useId and useSyncExternalStore from the known hooks. Contributed by @msdlisper

Parser

Enhancements

  • Support RegExp v flag. Contributed by @nissy-dev
  • Improve error messages. Contributed by @ematipico

What's Changed

Other changes

  • ci(release_cli): add homebrew formula bumper by @nhedger in #569
  • docs(website): fix useYield source reference by @unvalley in #583
  • fix: check elseClause inside noUselessLoneBlockStatements by @vasucp1207 in #584
  • docs(lint/useNamingConvention): type prop and method names in camelCase by @Conaclos in #588
  • chore: fix hook linting message grammar by @crutchcorn in #580
  • fix(project): changed structure to correctly emit schema for overrides by @ematipico in #602
  • fix(intellij): binary resolution execution sequence by @Joshuabaker2 in #601
  • refactor(linter-config): remove dead code and deduplicate code by @Conaclos in #612
  • refactor(json_deserialize): improve map_to_* API by @Conaclos in #616
  • refactor(json_deserailize): remove visit_member_name by @Conaclos in #618
  • fix: bug with useContext/useSyncExternalStore (#609) by @msdlisper in #621
  • feat(css_parser): CSS Parser pseudo element selector #268 by @denbezrukov in #600
  • fix(biome_js_parser): report error when using u and v flag at the same time by @nissy-dev in #631
  • ci(release_cli): continue on error when bumping homebrew formula by @nhedger in #637

New Contributors

Full Changelog: cli/v1.3.1...lsp/v1.6.2

Don't miss a new biome release

NewReleases is sending notifications on new releases.