summaryrefslogtreecommitdiff
path: root/ale_linters/javascript
diff options
context:
space:
mode:
authorharttle <yangjvn@126.com>2019-03-26 20:40:51 +0800
committerharttle <yangjvn@126.com>2019-04-11 16:24:58 +0800
commitc820089c4434b621e8b30fbe73bbf9d01ee44f6f (patch)
treedeff31ecaa7e2db9cde4cb791d1c47f4be55bc3c /ale_linters/javascript
parent481316561445a4048a96a2c6bd41e9b623d8919f (diff)
downloadale-c820089c4434b621e8b30fbe73bbf9d01ee44f6f.zip
feat: fecs support for js/html/css lint and format
`fecs` is a lint tool for HTML/CSS/JavaScript, see http://fecs.baidu.com for more options.
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r--ale_linters/javascript/fecs.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ale_linters/javascript/fecs.vim b/ale_linters/javascript/fecs.vim
new file mode 100644
index 00000000..e47c0a0b
--- /dev/null
+++ b/ale_linters/javascript/fecs.vim
@@ -0,0 +1,10 @@
+" Author: harttle <yangjvn@126.com>
+" Description: fecs for JavaScript files
+
+call ale#linter#Define('javascript', {
+\ 'name': 'fecs',
+\ 'executable': function('ale#handlers#fecs#GetExecutable'),
+\ 'command': function('ale#handlers#fecs#GetCommand'),
+\ 'read_buffer': 0,
+\ 'callback': 'ale#handlers#fecs#Handle',
+\})