mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add support for gjs template linting using embertemplate lint (#4653)
* super hacky way to get ember template lint to work on gjs files * Clean up code so we use a handler which means we reuse all the config also moves handler to the glimmer directory so it only fires for gjs files * fix tests
This commit is contained in:
6
ale_linters/glimmer/embertemplatelint.vim
Normal file
6
ale_linters/glimmer/embertemplatelint.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
" Author: Sam Saffron <sam.saffron@gmail.com>
|
||||
" Description: Ember-template-lint for checking GJS (Glimmer JS) files
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
call ale#handlers#embertemplatelint#DefineLinter('glimmer')
|
||||
Reference in New Issue
Block a user