mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Some checks are pending
CI / build_image (push) Waiting to run
CI / test_ale (--linters-only) (push) Blocked by required conditions
CI / test_ale (--neovim-07-only) (push) Blocked by required conditions
CI / test_ale (--neovim-08-only) (push) Blocked by required conditions
CI / test_ale (--vim-80-only) (push) Blocked by required conditions
CI / test_ale (--vim-90-only) (push) Blocked by required conditions
* Refactor djlint linter code
This patch moves the code to the `autoload` directory, so it's available
when it's needed by a specific linter. This avoids redundant code when
another format supported by djlint is added.
* Add linting support for all formats supported by djlint
So far, the `djlint` linter in ALE only supported `html`, which is only
one of several file types supported by `djlint`.
This patch adds support for the following file types:
* gohtmltmpl
* handlebars
* htmlangular
* htmldjango
* jinja
* nunjucks
* Add djlint fixer for various HTML template formats
* Supported formats:
- html
- htmlangular
- htmldjango
- jinja
- handlebars
- nunjucks
- gohtmltmpl
* Add doc entries
* Add vader tests
---------
Co-authored-by: Adrian Vollmer <computerfluesterer@protonmail.com>
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
===============================================================================
|
|
ALE Handlebars Integration *ale-handlebars-options*
|
|
|
|
|
|
===============================================================================
|
|
djlint *ale-handlebars-djlint*
|
|
|
|
See |ale-html-djlint|
|
|
|
|
===============================================================================
|
|
|
|
===============================================================================
|
|
prettier *ale-handlebars-prettier*
|
|
|
|
See |ale-javascript-prettier| for information about the available options.
|
|
Uses glimmer parser by default.
|
|
|
|
|
|
===============================================================================
|
|
ember-template-lint *ale-handlebars-embertemplatelint*
|
|
|
|
g:ale_handlebars_embertemplatelint_executable
|
|
*g:ale_handlebars_embertemplatelint_executable*
|
|
*b:ale_handlebars_embertemplatelint_executable*
|
|
Type: |String|
|
|
Default: `'ember-template-lint'`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
g:ale_handlebars_embertemplatelint_use_global
|
|
*g:ale_handlebars_embertemplatelint_use_global*
|
|
*b:ale_handlebars_embertemplatelint_use_global*
|
|
Type: |Number|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|