Skip to content

shofel/syntastic-local-js-checkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

syntastic-local-js-checkers

For each buffer with javascript file use all the javascript checkers from node_modules of the project

What does it do

  1. Find node-modules of the project. If not found, then do nothing: we're not in a project.
  2. Read g:syntastic_javascript_checkers (For example, ['eslint', 'flow'])
  3. For each checker find the executable in node_modules (If not found, show an error)
  4. For each checker set b:syntastic_javascript_(checkername)_exec to the path found

Known issue:

Fugitive's diff doesn't work together: the plugin detects node-modules, but doesn't find the executables. If you know a way to fix this, you're welcome to PR!

About

For each buffer use javascript checkers from node_modules of the project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published