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

docs: remove install command #16084

Merged
merged 5 commits into from Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 1 addition & 7 deletions README.md
Expand Up @@ -45,13 +45,7 @@ ESLint is a tool for identifying and reporting on patterns found in ECMAScript/J

Prerequisites: [Node.js](https://nodejs.org/) (`^12.22.0`, `^14.17.0`, or `>=16.0.0`) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)

You can install ESLint using npm:

```shell
npm install eslint --save-dev
```

You should then set up a configuration file:
You can install and configure ESLint using this command:

```shell
npm init @eslint/config
Expand Down
16 changes: 1 addition & 15 deletions docs/src/user-guide/getting-started.md
Expand Up @@ -20,24 +20,10 @@ ESLint is a tool for identifying and reporting on patterns found in ECMAScript/J

Prerequisites: [Node.js](https://nodejs.org/en/) (`^12.22.0`, `^14.17.0`, or `>=16.0.0`) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)

You can install ESLint using npm or yarn:

```shell
npm install eslint --save-dev

# or

yarn add eslint --dev
```

You should then set up a configuration file, and the easiest way to do that is:
You can install and configure ESLint using this command:

```shell
npm init @eslint/config

# or

yarn create @eslint/config
```

**Note:** `npm init @eslint/config` assumes you have a `package.json` file already. If you don't, make sure to run `npm init` or `yarn init` beforehand.
Expand Down