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

Introduce lint-staged to Origami #290

Open
geekayush opened this issue Jan 17, 2019 · 1 comment
Open

Introduce lint-staged to Origami #290

geekayush opened this issue Jan 17, 2019 · 1 comment

Comments

@geekayush
Copy link
Contributor

Description

Linting makes more sense when run before committing your code. By doing so you can ensure no errors go into the repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed.
I've setup lint-staged with husky in the past in one of my React App. I found it quite useful when working with a lot of people hence suggesting it here.

Expected Behavior

No new linting issues

Actual Behavior

There are no such pre-commit linters

@geekayush
Copy link
Contributor Author

@vpn1997 Should I take this up?

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