mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-26 15:43:16 +08:00
* fix(tests): fix ale_c_build_dir_names being unset in tests (#5109) - Use ale#Set() to set the ale_c_build_dir_names variable. - Ensure SetUpLinterTest() is called before any Save commands in tests. - Add c.vim to runtime before non-linter tests are executed. - Remove workarounds in c.vim. * feat: Load Prettier from cjs also * fix: wrong command for markdownlint * feat: explicit support for markdownlint-cli2 - Add markdownlint-cli2 linter and fixer, separate from markdownilnt-cli - Rename markdownlint to markdownlint-cli - Keep markdownlint as alias for markdownlint-cli --------- Co-authored-by: w0rp <devw0rp@gmail.com> Co-authored-by: Horacio Sanson <horacio.sanson@dena.jp>
21 lines
752 B
Plaintext
21 lines
752 B
Plaintext
Execute(prettier-eslint should be aliased):
|
|
AssertEqual 'ale#fixers#prettier_eslint#Fix', ale#fix#registry#GetFunc('prettier-eslint')
|
|
|
|
Execute(prettier-standard should be aliased):
|
|
AssertEqual 'ale#fixers#prettier_standard#Fix', ale#fix#registry#GetFunc('prettier-standard')
|
|
|
|
Execute(markdownlint should be aliased to markdownlint-cli):
|
|
AssertEqual
|
|
\ 'ale#fixers#markdownlint#Fix',
|
|
\ ale#fix#registry#GetFunc('markdownlint')
|
|
|
|
Execute(markdownlint-cli should be available directly):
|
|
AssertEqual
|
|
\ 'ale#fixers#markdownlint#Fix',
|
|
\ ale#fix#registry#GetFunc('markdownlint-cli')
|
|
|
|
Execute(markdownlint-cli2 should be available directly):
|
|
AssertEqual
|
|
\ 'ale#fixers#markdownlint_cli2#Fix',
|
|
\ ale#fix#registry#GetFunc('markdownlint-cli2')
|