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

Bad format of package.json commands #341

Closed
tomaszs opened this issue Apr 26, 2023 · 2 comments
Closed

Bad format of package.json commands #341

tomaszs opened this issue Apr 26, 2023 · 2 comments

Comments

@tomaszs
Copy link

tomaszs commented Apr 26, 2023

Package.json of the generated project contains such commands:

    "lint": "eslint '**/*.{js,jsx,ts,tsx}'",
    "prettier": "prettier --write '**/*.{js,jsx,ts,tsx}'",

These won't work at least on Windows / Bash.

To fix it you'd have to remove single quotes:

    "lint": "eslint **/*.{js,jsx,ts,tsx}",
    "prettier": "prettier --write **/*.{js,jsx,ts,tsx}",

In both commands

@BatuhanW
Copy link
Contributor

Hello @tomaszs Feel free to create a PR.

@shivam-sharma7
Copy link
Contributor

@BatuhanW close this now, no need

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

3 participants