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

[bug] Linting runs into errors on Windows #162

Open
RogueArt opened this issue Apr 20, 2022 · 0 comments · Fixed by #163
Open

[bug] Linting runs into errors on Windows #162

RogueArt opened this issue Apr 20, 2022 · 0 comments · Fixed by #163
Labels
bug Something isn't working

Comments

@RogueArt
Copy link
Collaborator

Describe the bug

Attempting to run linting via yarn format and yarn lint runs into two issues on Windows:

  1. ESLint says that it can't find any .js files
  2. The pre-commit hook doesn't run as Powershell and Cmd don't support the && operator

To Reproduce

Steps to reproduce the behavior:

  1. Run 'yarn lint' to reproduce ESLint error
  2. Stage any changes and make a commit to see pre-commit issue

Expected behavior

Should lint and run the pre-commit hooks commands properly.

Screenshots

image

Environment (please complete the following information):

  • OS or Device: Windows 10
@RogueArt RogueArt added the bug Something isn't working label Apr 20, 2022
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

Successfully merging a pull request may close this issue.

1 participant