Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run eslint for the whole project #2545

Open
ziombo opened this issue Dec 22, 2021 · 0 comments
Open

Run eslint for the whole project #2545

ziombo opened this issue Dec 22, 2021 · 0 comments

Comments

@ziombo
Copy link

ziombo commented Dec 22, 2021

Is it possible to run eslint (eslint_d to be more specific) for the whole project directory?

I currently have these settings for my typescript project:

let g:neomake_typescript_enabled_makers = ['eslint']
let g:neomake_eslint_exe = 'eslint_d'   

and the problem is that the command is run only for the current file. I tried changing the cwd with
neomake_eslint_cwd but without any success (either broke eslint or still worked for the current file only).

My eslintrc has root set to true, however it doesn't make eslint run for the whole project.

As a side note, default tsc maker configuration works for the whole project, but I'm unable to translate it's config into eslint.

NeomakeInfo output:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant