Skip to content

Commit

Permalink
update usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Jun 27, 2018
1 parent ae776b5 commit 377798a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ For every project containing JavaScript, ESLint should be set up with this confi
npm install --save-dev eslint-config-oceanprotocol eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
```

Then, create a new file `.eslintrc` in the root of your project and fill with:

```json
{
"extends": "oceanprotocol"
Expand All @@ -36,6 +38,8 @@ When using within a React project use this to get set up:
npm install --save-dev eslint-config-oceanprotocol eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-react
```

And in your `.eslintrc`:

```json
{
"extends": ["oceanprotocol", "oceanprotocol/react"]
Expand Down

0 comments on commit 377798a

Please sign in to comment.