Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request eslint#5919 from eslint/fixes5874
Browse files Browse the repository at this point in the history
Docs: Clarify init sets up local installation (fixes eslint#5874)
  • Loading branch information
nzakas committed Apr 21, 2016
2 parents 864c5eb + 249eb40 commit 8d1deb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ After that, you can run ESLint on any JavaScript file:

eslint test.js test2.js

**Note:** `eslint --init` is intended for setting up and configuring ESLint on a per-project basis and will perform a local installation of ESLint and its plugins in the directory in which it is run. If you prefer using a global installation of ESLint, any plugins used in your configuration must also be installed globally.

## Configuration

After running `eslint --init`, you'll have a `.eslintrc` file in your directory. In it, you'll see some rules configured like this:
Expand Down

0 comments on commit 8d1deb3

Please sign in to comment.