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: eslint/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ GrowFlow's shared [ESLint](https://eslint.org/) configuration to apply styling a
4
4
5
5
## Usage
6
6
7
-
Install as dev dependency:
7
+
Install as a dev dependency. ESLint plugins used by this config must also be installed within your project. This is a [current limitation of ESLint](https://github.com/eslint/rfcs/pull/5). You can easily install this package and all of its peer dependencies with [install-peerdeps](https://www.npmjs.com/package/install-peerdeps):
npx install-peerdeps --dev -a <auth_token> @growflow/eslint-config
11
11
```
12
12
13
-
> Note: that you'll need a `.npmrc` file with Growflow's `NPM_TOKEN`.
13
+
> Note: that you'll need a `.npmrc` file with Growflow's `NPM_TOKEN` and you'll also need to pass that token to the `install-peerdeps` CLI (since it doesn't look at the `.npmrc` for some reason).
14
14
15
-
You'll need to create a `.eslintrc.js` file with content similar to the following:
15
+
You can then create a `.eslintrc.js` file with content similar to the following:
0 commit comments