Skip to content

Commit

Permalink
docs: remove install command (#16084)
Browse files Browse the repository at this point in the history
* docs: remove install command

* chore: update readme

* chore: fix review comments
  • Loading branch information
harish-sethuraman committed Jul 12, 2022
1 parent 30be0ed commit bc692a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
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

0 comments on commit bc692a9

Please sign in to comment.