Skip to content
Browse files

Merge pull request #125 from AdamVig/add-simpler-installation-process

Add a simpler installation process to the README
  • Loading branch information...
LinusU committed Jul 31, 2018
2 parents 3923f7b + dabe8df commit 8fd0c377fe70c31bc78252db1d20eb827df88ad8
Showing with 12 additions and 2 deletions.
  1. +12 −2
@@ -28,13 +28,23 @@ You can learn more about
[Shareable Configs]( on the
official ESLint website.

To use the JavaScript Standard Style shareable config, first run this:
**If you want to set up the config automatically**, follow these steps in your project directory:

1. `npx eslint --init`
2. Select "Use a popular style guide."
3. Select "Standard."
4. Select a config file format.
5. If prompted, confirm the installation of the necessary dependencies.

The above steps will automatically set up an ESLint configuration and install the necessary dependencies for you.

**If you want to set up the config manually**, run the following command:

npm install --save-dev eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

Then, add this to your .eslintrc file:
Then, add this to your `.eslintrc` file:


0 comments on commit 8fd0c37

Please sign in to comment.
You can’t perform that action at this time.