summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChrisatmachine <[email protected]>2018-11-11 15:07:54 -0500
committerChrisatmachine <[email protected]>2018-11-11 15:07:54 -0500
commitb2d7bbb94870aaf4e9f3492d53c4b8c10f086151 (patch)
tree4c06f6e2813b76acb55c44b6ee4e513997ab1c6a
parent8b763e56d375cc2991faedafe5e5fad7737647c4 (diff)
left a note about eslint
-rw-r--r--init.vim10
1 files changed, 9 insertions, 1 deletions
diff --git a/init.vim b/init.vim
index d08e08ce..944be865 100644
--- a/init.vim
+++ b/init.vim
@@ -299,11 +299,19 @@ let g:multi_cursor_skip_key = '<C-x>'
let g:multi_cursor_quit_key = '<Esc>'
" ALE
+" Note pylint sucks
+" Note for javascript you need to:
+" npm install eslint --save-dev
+" ./node_modules/.bin/eslint --init
+" or for global
+" npm install -g eslint
+" eslint --init
let g:ale_linters = {
\ 'cpp' : ['gcc'],
\ 'c' : ['gcc'],
\ 'vim' : ['vint'],
- \ 'python': ['flake8', 'pyre', 'vulture', 'prospector', 'pyflakes', 'mypy', 'pyls']
+ \ 'python': ['flake8', 'pyre', 'vulture', 'prospector', 'pyflakes', 'mypy', 'pyls'],
+ \ 'javascript': ['eslint', 'flow', 'flow-language-server', 'jscs', 'jshint', 'standard', 'tsserver', 'xo']
\}
let g:ale_cpp_gcc_options='-Wall -Wextra'
let g:ale_c_gcc_options='-Wall -Wextra'