dense-analysis / dense-analysis/ale

[Biome] No longer working with v2

Open
#4,998 12 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

ALE commit: edccdfa9efb7a4b37fb846e55b2137b55275d39e
Vim: 9.1.1497-1

Since Biome version 2, the linter no longer works for me although I updated the configuration file. Running `biome lint --config-path ~/.config/biome/biome.json advertisement.ts` works. However, in Vim it does not.

Relevant sections from my vimrc.

```vim
let g:ale_linters =
\{
\ 'bib': ['bibclean'],
\ 'cpp': ['clangtidy'],
\ 'cmake': ['cmake_lint'],
\ 'css': ['stylelint'],
\ 'desktop': ['desktop_file_validate'],
\ 'gitcommit': ['gitlint'],
\ 'html': ['htmlhint', 'tidy'],
\ 'java': ['javac', 'pmd'],
\ 'json': ['jq'],
\ 'mail': [],
\ 'make': ['checkmake'],
\ 'markdown': ['markdownlint'],
\ 'PKGBUILD': ['shell', 'shellcheck'],
\ 'po': ['msgfmt'],
\ 'python': ['bandit', 'mypy', 'pycodestyle', 'pydocstyle', 'pyflakes', 'pyright', 'ruff', 'vulture'],
\ 'sh': ['shell', 'shellcheck'],
\ 'systemd': ['systemd_analyze'],
\ 'tex': ['chktex'],
\ 'text': [],
\ 'toml': [],
\ 'typescript': ['biome'],
\ 'vim': ['vint'],
\ 'xml': ['xmllint'],
\ 'yaml': ['yamllint'],
\ 'zsh': ['shell', 'shellcheck']
\}

""" typescript
let g:ale_biome_lsp_project_root = $XDG_CONFIG_HOME . '/biome/' " Commenting out does still not work.
```

Consider that I tried to comment out the setting `ale_biome_lsp_project_root`.

@redbmk Does it still work for you? Do you know a solution? Am I doing something wrong?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.