Skip to content

Commit c1533f1

Browse files
committed
fix: add @typescript-eslint/parser to dev & peer deps to resolve unmet peer dep
1 parent 4b850e2 commit c1533f1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
Use the package manager to install
4444

4545
```bash
46-
yarn add @boringcodes/eslint-config-typescript @typescript-eslint/eslint-plugin eslint-config-prettier eslint-config-standard-with-typescript eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard eslint typescript --dev
46+
yarn add @boringcodes/eslint-config-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-config-standard-with-typescript eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard eslint typescript --dev
4747
```
4848

4949
## Usage

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"devDependencies": {
2020
"@boringcodes/eslint-config": "^1.0.0",
2121
"@typescript-eslint/eslint-plugin": "^2.25.0",
22+
"@typescript-eslint/parser": "^2.25.0",
2223
"eslint": "^6.8.0",
2324
"eslint-config-prettier": "^6.10.1",
2425
"eslint-config-standard": "^14.1.1",
@@ -33,6 +34,7 @@
3334
},
3435
"peerDependencies": {
3536
"@typescript-eslint/eslint-plugin": "^2.25.0",
37+
"@typescript-eslint/parser": "^2.25.0",
3638
"eslint": "^6.8.0",
3739
"eslint-config-prettier": "^6.10.1",
3840
"eslint-config-standard-with-typescript": "^15.0.1",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
eslint-scope "^5.0.0"
7676
eslint-utils "^2.0.0"
7777

78-
"@typescript-eslint/parser@^2.24.0":
78+
"@typescript-eslint/parser@^2.24.0", "@typescript-eslint/parser@^2.25.0":
7979
version "2.25.0"
8080
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.25.0.tgz#abfb3d999084824d9a756d9b9c0f36fba03adb76"
8181
integrity sha512-mccBLaBSpNVgp191CP5W+8U1crTyXsRziWliCqzj02kpxdjKMvFHGJbK33NroquH3zB/gZ8H511HEsJBa2fNEg==

0 commit comments

Comments
 (0)