You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-53
Original file line number
Diff line number
Diff line change
@@ -12,70 +12,25 @@ We export two ESLint configurations for your usage.
12
12
13
13
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires `eslint` and `eslint-plugin-import`.
14
14
15
-
If you use yarn, run `npm info "eslint-config-netzkern-base@latest" peerDependencies` to list the peer dependencies and versions, then run `yarn add --dev <dependency>@<version>` for each listed peer dependency. See below for npm instructions.
16
-
17
15
1. Install the correct versions of each package, which are listed by the command:
18
16
19
-
```sh
20
-
npm info "eslint-config-netzkern-base@latest" peerDependencies
21
-
```
22
-
23
-
Linux/OSX users can run
24
-
```sh
25
-
(
26
-
export PKG=eslint-config-netzkern-base;
27
-
npm info "$PKG@latest" peerDependencies --json |command sed 's/[\{\},]//g ; s/: /@/g'| xargs npm install --save-dev "$PKG@latest"
Windows users can either install all the peer dependencies manually, or use the [install-peerdeps](https://github.com/nathanhleung/install-peerdeps) cli tool.
0 commit comments