mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 09:17:07 +08:00
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
* Add support for the [djlinter](https://www.djlint.com/) * Add documentation and tests. * Fix the name of the variable for the executable name. * Correct the name of the handler in the test. * Correct the test adding the value of vcol. * Format djlint.vim according to formatting rules.
22 lines
454 B
Plaintext
22 lines
454 B
Plaintext
Before:
|
|
runtime ale_linters/html/djlint.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The Djlint handler should parse output with a column correctly):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 47,
|
|
\ 'vcol': 1,
|
|
\ 'col': 8,
|
|
\ 'code': 'H008',
|
|
\ 'text': 'Attributes should be double quoted.',
|
|
\ 'type': 'W'
|
|
\ }
|
|
\ ],
|
|
\ ale_linters#html#djlint#Handle(0, [
|
|
\ 'H008 47:8 Attributes should be double quoted.'
|
|
\ ])
|