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 4 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
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -45,16 +45,14 @@ 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:
The easiest way to initialize ESLint is:
aladdin-add marked this conversation as resolved.
Show resolved Hide resolved

```shell
npm install eslint --save-dev
```
npm init @eslint/config

You should then set up a configuration file:
# or
aladdin-add marked this conversation as resolved.
Show resolved Hide resolved

```shell
npm init @eslint/config
yarn create @eslint/config
```

After that, you can run ESLint on any file or directory like this:
Expand Down
12 changes: 1 addition & 11 deletions docs/src/user-guide/getting-started.md
Expand Up @@ -20,17 +20,7 @@ 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:
The easiest way to initialize ESLint is:
aladdin-add marked this conversation as resolved.
Show resolved Hide resolved

```shell
npm init @eslint/config
Expand Down