Clean up embertemplatelint code

Alias ember-template-lint to embertemplatelint so users can use either
string to enable the linter.
This commit is contained in:
w0rp
2020-09-05 19:06:07 +01:00
parent 844febb9fb
commit 152b2cb691
4 changed files with 28 additions and 30 deletions

View File

@@ -0,0 +1,17 @@
Before:
call ale#assert#SetUpLinterTest('handlebars', 'embertemplatelint')
GivenCommandOutput ['1.6.0']
After:
call ale#assert#TearDownLinterTest()
Execute(ember-template-lint executables runs the right command):
AssertLinter 'ember-template-lint',
\ ale#Escape('ember-template-lint') . ' --json --filename %s'
Execute(old ember-template-lint executables runs the right command):
GivenCommandOutput []
AssertLinter 'ember-template-lint',
\ ale#Escape('ember-template-lint') . ' --json %t'