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

Add "npm run lint:fix" auto before "git add ." #60

Closed
Ruiub3i opened this issue May 21, 2021 · 2 comments
Closed

Add "npm run lint:fix" auto before "git add ." #60

Ruiub3i opened this issue May 21, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Ruiub3i
Copy link
Contributor

Ruiub3i commented May 21, 2021

Describe the bug
Add "npm run lint:fix" auto before "git add ."

Reproduction

  1. Run "git add ."
  2. Automatically run "npm run lint:fix" before

Logs, screenshots

Goal is to remove this issue

Screenshot 2021-05-21 at 13 46 51

@Ruiub3i Ruiub3i added the bug Something isn't working label May 21, 2021
@nodexchange
Copy link

Hey, I am a little stuck with this one, as they are no git hooks I can tap into to get it sorted.
https://git-scm.com/docs/githooks

I had a play, I've added smarter lint-staged and husky for us to make it more scalable in the future, but as it stands we might not be able to resolve it. PR on the way. Also, I've added a troubleshoot.md, which we should all contribute too, I am sure it will save you a lot of time :D

@nodexchange
Copy link

#62

(I can squash it if easier).

Also, removed the build, it gets build on test anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants