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

Update install instructions in READMEs #185

Merged
merged 2 commits into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ Our default export contains a base set of ESLint rules for ES6+:

```bash
yarn add --dev \
@metamask/eslint-config@^6.0.0 \
eslint@^7.23.0 \
eslint-plugin-import@^2.22.0 \
@metamask/eslint-config@^5.0.0
eslint-config-prettier@^8.1.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-prettier@^3.3.1 \
prettier@^2.2.1
```

The order in which you extend ESLint rules matters.
Expand Down
11 changes: 7 additions & 4 deletions packages/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ MetaMask's [Jest](https://jestjs.io/) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^6.0.0 \
@metamask/eslint-config-jest@^6.0.0 \
eslint@^7.23.0 \
eslint-plugin-import@^2.22.0 \
eslint-plugin-jest@^23.6.0 \
@metamask/eslint-config@^5.0.0 \
@metamask/eslint-config-jest@^5.0.0
eslint-config-prettier@^8.1.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-jest@^24.1.3 \
eslint-plugin-prettier@^3.3.1 \
prettier@^2.2.1
```

The order in which you extend ESLint rules matters.
Expand Down
11 changes: 7 additions & 4 deletions packages/mocha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ MetaMask's [Mocha](https://mochajs.org/) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^6.0.0 \
@metamask/eslint-config-mocha@^6.0.0 \
eslint@^7.23.0 \
eslint-plugin-import@^2.22.0 \
eslint-plugin-mocha@^8.0.0 \
@metamask/eslint-config@^5.0.0 \
@metamask/eslint-config-mocha@^5.0.0
eslint-config-prettier@^8.1.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-mocha@^8.1.0 \
eslint-plugin-prettier@^3.3.1 \
prettier@^2.2.1
```

The order in which you extend ESLint rules matters.
Expand Down
10 changes: 7 additions & 3 deletions packages/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ MetaMask's [Node.js](https://nodejs.org) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^6.0.0 \
@metamask/eslint-config-nodejs@^6.0.0 \
eslint@^7.23.0 \
eslint-plugin-import@^2.22.0 \
eslint-config-prettier@^8.1.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-node@^11.1.0 \
@metamask/eslint-config@^5.0.0 \
@metamask/eslint-config-nodejs@^5.0.0
eslint-plugin-prettier@^3.3.1 \
prettier@^2.2.1

```

The order in which you extend ESLint rules matters.
Expand Down
14 changes: 9 additions & 5 deletions packages/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ MetaMask's [TypeScript](https://www.typescriptlang.org) ESLint configuration.

```bash
yarn add --dev \
@metamask/eslint-config@^6.0.0 \
@metamask/eslint-config-typescript@^6.0.0 \
@typescript-eslint/eslint-plugin@^4.20.0 \
@typescript-eslint/parser@^4.20.0 \
eslint@^7.23.0 \
eslint-plugin-import@^2.22.0 \
@typescript-eslint/eslint-plugin@^3.9.1 \
@typescript-eslint/parser@^3.9.1 \
@metamask/eslint-config@^5.0.0 \
@metamask/eslint-config-typescript@^5.0.0
eslint-config-prettier@^8.1.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-prettier@^3.3.1 \
prettier@^2.2.1

```

The order in which you extend ESLint rules matters.
Expand Down