summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-11 23:11:45 +0100
committerw0rp <devw0rp@gmail.com>2016-10-11 23:11:45 +0100
commit78bcf96e345c9aa31412ae06e1da2bbe6a568ff5 (patch)
tree1eabb9c650ba0a36386225f802d978d4963340f2 /ale_linters
parent69116966162a15127c088cce9319228ec32ba7f5 (diff)
downloadale-78bcf96e345c9aa31412ae06e1da2bbe6a568ff5.zip
Fix #87 - Allow linter filetypes to be aliased
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/javascript/eslint.vim7
-rw-r--r--ale_linters/javascript/jscs.vim7
-rw-r--r--ale_linters/javascript/jshint.vim7
3 files changed, 0 insertions, 21 deletions
diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim
index 909c1128..c5a25555 100644
--- a/ale_linters/javascript/eslint.vim
+++ b/ale_linters/javascript/eslint.vim
@@ -55,10 +55,3 @@ call ale#linter#Define('javascript', {
\ 'command': g:ale_javascript_eslint_executable . ' -f unix --stdin --stdin-filename %s',
\ 'callback': 'ale_linters#javascript#eslint#Handle',
\})
-
-call ale#linter#Define('javascript.jsx', {
-\ 'name': 'eslint',
-\ 'executable': g:ale_javascript_eslint_executable,
-\ 'command': g:ale_javascript_eslint_executable . ' -f unix --stdin --stdin-filename %s',
-\ 'callback': 'ale_linters#javascript#eslint#Handle',
-\})
diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim
index 501a3288..bddee240 100644
--- a/ale_linters/javascript/jscs.vim
+++ b/ale_linters/javascript/jscs.vim
@@ -13,10 +13,3 @@ call ale#linter#Define('javascript', {
\ 'command': 'jscs -r unix -n -',
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
\})
-
-call ale#linter#Define('javascript.jsx', {
-\ 'name': 'jscs',
-\ 'executable': 'jscs',
-\ 'command': 'jscs -r unix -n -',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
-\})
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim
index 571d05d7..a2ef5ae2 100644
--- a/ale_linters/javascript/jshint.vim
+++ b/ale_linters/javascript/jshint.vim
@@ -37,10 +37,3 @@ call ale#linter#Define('javascript', {
\ 'command_callback': 'ale_linters#javascript#jshint#GetCommand',
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
\})
-
-call ale#linter#Define('javascript.jsx', {
-\ 'name': 'jshint',
-\ 'executable': g:ale_javascript_jshint_executable,
-\ 'command_callback': 'ale_linters#javascript#jshint#GetCommand',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
-\})