Skip to content

Fix Lint in windows  #124

@AmanRaj1608

Description

@AmanRaj1608

Expected Behavior

On windows npm run lint gives an error.
So we can't commit and push as we husky will give the error again.

Possible Solution

One solution is to add another command for windows in package.json file
like "lint-win": "eslint ./public/*.js *.js --fix"
and use or in pre-commit so that any one of them will run.

Your Environment

  • Version used:
    Windows 10

Would you like to work on this issue?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions