summaryrefslogtreecommitdiff
path: root/ale_linters/javascript
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-05-26 22:43:30 +0100
committerw0rp <devw0rp@gmail.com>2021-05-26 22:43:33 +0100
commitf53431331e2e2030a84de081baec93aad1e62363 (patch)
treec44ff92c5e4aaf6b39100e9ee40484a49ae39f78 /ale_linters/javascript
parent3f386ae5e988d6e1b39332a760f9e990d2df7f31 (diff)
downloadale-f53431331e2e2030a84de081baec93aad1e62363.zip
Enable gopls by default with GOPATH detection
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r--ale_linters/javascript/flow.vim2
-rw-r--r--ale_linters/javascript/flow_ls.vim2
-rw-r--r--ale_linters/javascript/jscs.vim2
-rw-r--r--ale_linters/javascript/jshint.vim2
-rw-r--r--ale_linters/javascript/standard.vim2
-rw-r--r--ale_linters/javascript/tsserver.vim2
6 files changed, 6 insertions, 6 deletions
diff --git a/ale_linters/javascript/flow.vim b/ale_linters/javascript/flow.vim
index 3135e2e9..601bac33 100644
--- a/ale_linters/javascript/flow.vim
+++ b/ale_linters/javascript/flow.vim
@@ -22,7 +22,7 @@ function! ale_linters#javascript#flow#GetExecutable(buffer) abort
return ''
endif
- return ale#node#FindExecutable(a:buffer, 'javascript_flow', [
+ return ale#path#FindExecutable(a:buffer, 'javascript_flow', [
\ 'node_modules/.bin/flow',
\])
endfunction
diff --git a/ale_linters/javascript/flow_ls.vim b/ale_linters/javascript/flow_ls.vim
index accaaa73..fec34011 100644
--- a/ale_linters/javascript/flow_ls.vim
+++ b/ale_linters/javascript/flow_ls.vim
@@ -19,7 +19,7 @@ endfunction
call ale#linter#Define('javascript', {
\ 'name': 'flow-language-server',
\ 'lsp': 'stdio',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'javascript_flow_ls', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'javascript_flow_ls', [
\ 'node_modules/.bin/flow',
\ ])},
\ 'command': '%e lsp --from ale-lsp',
diff --git a/ale_linters/javascript/jscs.vim b/ale_linters/javascript/jscs.vim
index 8905b3a1..ae3be68c 100644
--- a/ale_linters/javascript/jscs.vim
+++ b/ale_linters/javascript/jscs.vim
@@ -53,7 +53,7 @@ endfunction
call ale#linter#Define('javascript', {
\ 'name': 'jscs',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'javascript_jscs', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'javascript_jscs', [
\ 'node_modules/.bin/jscs',
\ ])},
\ 'command': function('ale_linters#javascript#jscs#GetCommand'),
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim
index d80a2250..26d4fda2 100644
--- a/ale_linters/javascript/jshint.vim
+++ b/ale_linters/javascript/jshint.vim
@@ -25,7 +25,7 @@ endfunction
call ale#linter#Define('javascript', {
\ 'name': 'jshint',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'javascript_jshint', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'javascript_jshint', [
\ 'node_modules/.bin/jshint',
\ ])},
\ 'command': function('ale_linters#javascript#jshint#GetCommand'),
diff --git a/ale_linters/javascript/standard.vim b/ale_linters/javascript/standard.vim
index 1990adce..addf41dd 100644
--- a/ale_linters/javascript/standard.vim
+++ b/ale_linters/javascript/standard.vim
@@ -6,7 +6,7 @@ call ale#Set('javascript_standard_use_global', get(g:, 'ale_use_global_executabl
call ale#Set('javascript_standard_options', '')
function! ale_linters#javascript#standard#GetExecutable(buffer) abort
- return ale#node#FindExecutable(a:buffer, 'javascript_standard', [
+ return ale#path#FindExecutable(a:buffer, 'javascript_standard', [
\ 'node_modules/standardx/bin/cmd.js',
\ 'node_modules/standard/bin/cmd.js',
\ 'node_modules/semistandard/bin/cmd.js',
diff --git a/ale_linters/javascript/tsserver.vim b/ale_linters/javascript/tsserver.vim
index 68c252c5..caf6972b 100644
--- a/ale_linters/javascript/tsserver.vim
+++ b/ale_linters/javascript/tsserver.vim
@@ -8,7 +8,7 @@ call ale#Set('javascript_tsserver_use_global', get(g:, 'ale_use_global_executabl
call ale#linter#Define('javascript', {
\ 'name': 'tsserver',
\ 'lsp': 'tsserver',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'javascript_tsserver', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'javascript_tsserver', [
\ 'node_modules/.bin/tsserver',
\ ])},
\ 'command': '%e',