File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ export default class Fetcher {
7171 let url ;
7272 try {
7373 url = new URL ( uri ) ;
74+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
7475 } catch ( err ) {
7576 // If that try fails for whatever reason than the URI that we have isn't a real URL and
7677 // we can safely attempt to look for it on the filesystem.
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ export default class Storage {
130130 const file = fs . readFileSync ( Storage . getLockfilePath ( ) , 'utf8' ) ;
131131 try {
132132 Storage . lockfile = JSON . parse ( file ) as Lockfile ;
133+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
133134 } catch ( err ) {
134135 // If we can't parse the lock file for whatever reason then it's probably corrupted so we
135136 // should reset it to the default.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export default async function parseResponse<HTTPStatus extends number = number>(
1111 if ( isJSON ) {
1212 try {
1313 data = JSON . parse ( responseBody ) ;
14+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1415 } catch ( e ) {
1516 // If our JSON parsing failed then we can just return plaintext instead.
1617 }
Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ interface CustomMatchers<R = unknown> {
2626}
2727
2828declare module 'vitest' {
29- // eslint-disable-next-line @typescript-eslint/no-explicit-any
29+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-empty-object-type
3030 interface Assertion < T = any > extends CustomMatchers < T > { }
31+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
3132 interface AsymmetricMatchersContaining extends CustomMatchers { }
3233}
3334
You can’t perform that action at this time.
0 commit comments