LSP
Bug fixes
Formatter
Bug fixed
- Fix #1178, where the line ending option wasn't correctly applied. Contributed by @ematipico
- Fix #1571. Fix invalid formatting of nested multiline comments. Contributed by @ah-yu
Linter
Bug fixes
-
Fix #1575. noArrayIndexKey now captures array index value inside template literals and with string concatination. Contributed by @vasucp1207
-
Linter rules that inspect regexes now handle multibyte characters correctly (#1522).
Previously, noMisleadingCharacterClass, noMultipleSpacesInRegularExpressionLiterals, and noEmptyCharacterClassInRegex made Biome errors on multi-bytes characters.
Multibyte characters are now handled correctly.The following code no longer raises an internal error:
// Cyrillic characters /[\u200E\u2066-\u2069]/gu;
Contributed by @Conaclos
-
useExhaustiveDependencies no longer made Biome errors in code TypeScript import equal declarations (#1194). Contributed by @Conaclos
Parser
What's Changed
Other changes
- refactor(parser): Update lexer methods to handle only ASCII identifiers by @denbezrukov in #1558
- feat(cli): file system prettier migration by @ematipico in #1567
- feat(css_formatter): Formatting for
border
property by @faultyserver in #1453 - fix(exhaustiveDeps): perform nested capture check in a correct way by @XiNiHa in #1327
- feat(project):
Deserializable
derive macro by @arendjr in #1564 - docs(website): fix lefthook pre-push recipe by @lmauromb in #1587
- refactor(css_parser): Renamed 'CssSimpleFunction' to 'CssFunction' by @denbezrukov in #1588
- docs(website): tables from source rules to Biome rules by @ematipico in #1583
- chore: update documentation by @ematipico in #1599
New Contributors
Full Changelog: cli/v1.5.2...cli/v1.5.2-nightly.91c7730