Analyzer
CLI
Bug fixes
-
Fix configuration resolution. Biome is now able to correctly find the
biome.jsonc
configuration file when--config-path
is explicitly set (#2164). Contributed by @Sec-ant -
JavaScript/TypeScript files of different variants (
.ts
,.js
,.tsx
,.jsx
) in a single workspace now have stable formatting behaviors when running the CLI command in paths of different nested levels or in different operating systems (#2080, #2109). Contributed by @Sec-ant
Configuration
Bug fixes
- Complete the documentation and overrides support for options
formatter.lineEnding
,[language].formatter.lineEnding
,formatter.attributePosition
andjavascript.formatter.attributePosition
. Contributed by @Sec-ant
Editors
Formatter
Bug fixes
JavaScript APIs
Linter
New features
- Add rule noEvolvingAny to disallow variables from evolving into
any
type through reassignments. Contributed by @fujiyamaorange
LSP
Bug fixes
- Quickfix action no longer autofixes lint rule errors on save when
linter
is disabled (#2161). Contributed by @Sec-ant - Range formatting for Astro/Svelte/Vue doesn't place code out of place, especially when formatting on paste is enabled. Contributed by @ematipico
Parser
What's Changed
Other changes
- feat(parser): GritQL parser by @arendjr in #1998
- chore: reduce redundant lexer methods by @arendjr in #2165
- chore(ci): update
setup-rust
cache strategy by @Sec-ant in #2166 - chore(ci): do not cache nightly channel by @Sec-ant in #2167
- chore(ci): revert
wasm-pack
dev mode change by @Sec-ant in #2170 - fix(website): control flow by @Sec-ant in #2174
- feat(css_formatter): CssPropertyAtRule formatting by @denbezrukov in #2181
- feat(css_formatter): CssNamespaceAtRule formatting by @denbezrukov in #2182
- docs(guides/how-biome-works): remove dangling phrase by @marcalexiei in #2179
- fix(website): a small typo by @Sec-ant in #2192
- fix(codegen): new lint rule generation by @unvalley in #2187
- docs(website): translate integrate-biome-with-your-vcs into Japanese by @unvalley in #2176
New Contributors
- @marcalexiei made their first contribution in #2179
Full Changelog: cli/v1.6.2...cli/v1.6.3