Skip to content

Commit

Permalink
Use yarn resolution to pin @typescript-eslint packages
Browse files Browse the repository at this point in the history
Causes eslint issues if multiple versions are detected
  • Loading branch information
louise-davies committed Jan 25, 2023
1 parent ba11b71 commit 139dc36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 59 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"husky": "8.0.1"
},
"resolutions": {
"@types/react": "17.0.39"
"@types/react": "17.0.39",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.2"
},
"scripts": {
"build": "yarn workspaces foreach --interlaced --verbose --parallel --jobs 3 --exclude datagateway-common run build",
Expand All @@ -24,4 +26,4 @@
"postinstall": "husky install"
},
"packageManager": "[email protected]"
}
}
57 changes: 0 additions & 57 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3805,29 +3805,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^5.5.0":
version: 5.49.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.49.0"
dependencies:
"@typescript-eslint/scope-manager": 5.49.0
"@typescript-eslint/type-utils": 5.49.0
"@typescript-eslint/utils": 5.49.0
debug: ^4.3.4
ignore: ^5.2.0
natural-compare-lite: ^1.4.0
regexpp: ^3.2.0
semver: ^7.3.7
tsutils: ^3.21.0
peerDependencies:
"@typescript-eslint/parser": ^5.0.0
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 15423cd9fde1ac3f8ba34526a07e537464e70463f1af784be5567fdc78e5745352fa0a2c3be0c13d066bc4b9720b5fa438d64647f624d29722eb4f158c039dcc
languageName: node
linkType: hard

"@typescript-eslint/experimental-utils@npm:^5.0.0":
version: 5.49.0
resolution: "@typescript-eslint/experimental-utils@npm:5.49.0"
Expand Down Expand Up @@ -3856,23 +3833,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^5.5.0":
version: 5.49.0
resolution: "@typescript-eslint/parser@npm:5.49.0"
dependencies:
"@typescript-eslint/scope-manager": 5.49.0
"@typescript-eslint/types": 5.49.0
"@typescript-eslint/typescript-estree": 5.49.0
debug: ^4.3.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 87b3760cfc29b3edd3d28fe0d5e9e5a3833d60398d7779ecc657b9e3bfec624cd464176e26b24b0761fb79cc88daddae19560340f91119c4856b91f9663594dd
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:5.48.2":
version: 5.48.2
resolution: "@typescript-eslint/scope-manager@npm:5.48.2"
Expand Down Expand Up @@ -3910,23 +3870,6 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:5.49.0":
version: 5.49.0
resolution: "@typescript-eslint/type-utils@npm:5.49.0"
dependencies:
"@typescript-eslint/typescript-estree": 5.49.0
"@typescript-eslint/utils": 5.49.0
debug: ^4.3.4
tsutils: ^3.21.0
peerDependencies:
eslint: "*"
peerDependenciesMeta:
typescript:
optional: true
checksum: 9dcee0a21cfdb3549e2305120535af5ab2c5d0cafdd410827e79d7548f8fc4e7da7cbb77a4338ade8b8b8aaf246fee56b919f1857931bbe2ac5df2fbb5e62ee6
languageName: node
linkType: hard

"@typescript-eslint/types@npm:5.48.2":
version: 5.48.2
resolution: "@typescript-eslint/types@npm:5.48.2"
Expand Down

0 comments on commit 139dc36

Please sign in to comment.