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

How to lint only a list of passed files? #40

Closed
basharov opened this issue Jan 14, 2021 · 3 comments
Closed

How to lint only a list of passed files? #40

basharov opened this issue Jan 14, 2021 · 3 comments

Comments

@basharov
Copy link

I use this tool https://github.com/okonet/lint-staged to lint my changed files before committing them.
Only files I changed are linted, so if there are some legacy files that don't meet the rules, they don't get linted and don't break my flow.

Is it possible to make ls-lint work in a similar way - lint only files passed as arguments by lint-staged?

@loeffel-io
Copy link
Owner

currently not, but i will keep that in mind when i will build the v2

@airtonix
Copy link

airtonix commented May 5, 2021

should label this as desired for v2 so it doesn't get missed. this is fairly critical to ls-lint uptake.

@ElsaOOo
Copy link

ElsaOOo commented Aug 5, 2021

yes, I want to lint my staged files, and this is most needed

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

4 participants