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

Suggest use of npx in README #1640

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Suggest use of npx in README #1640

merged 1 commit into from
Apr 20, 2023

Conversation

MariaSolOs
Copy link
Contributor

@MariaSolOs MariaSolOs commented Apr 19, 2023

This PR updates the README to suggest the use of npx instead of specifying instructions for each operating system. By default, npx will check whether ESLint exists in $PATH (because it was installed globally), or in the local project binaries, and execute that.

The ESLint docs also suggest using npx when using the CLI: https://eslint.org/docs/latest/use/command-line-interface#run-the-cli

@MariaSolOs MariaSolOs changed the title Suggest npx in README Suggest use of npx in README Apr 19, 2023
@dbaeumer dbaeumer requested a review from aeschli April 19, 2023 07:03
@dbaeumer dbaeumer merged commit 0608fb4 into microsoft:main Apr 20, 2023
@MariaSolOs MariaSolOs deleted the use-npx branch April 20, 2023 15:06
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

Successfully merging this pull request may close these issues.

3 participants