Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Jul 14, 2023
1 parent f3c9b47 commit 0f93326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/MetaMaskInpageProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
MetaMaskInpageProvider,
} from './MetaMaskInpageProvider';
import { MockConnectionStream } from '../test/mocks/MockConnectionStream';
import messages from './messages';

Check failure on line 8 in src/MetaMaskInpageProvider.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (16.x)

`./messages` import should occur before import of `./MetaMaskInpageProvider`

Check failure on line 8 in src/MetaMaskInpageProvider.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (18.x)

`./messages` import should occur before import of `./MetaMaskInpageProvider`

Check failure on line 8 in src/MetaMaskInpageProvider.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (20.x)

`./messages` import should occur before import of `./MetaMaskInpageProvider`

/**
* A fully initialized inpage provider, and additional mocks to help
Expand Down
1 change: 1 addition & 0 deletions src/MetaMaskInpageProvider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { rpcErrors } from '@metamask/rpc-errors';
import type { Json, JsonRpcRequest, JsonRpcResponse } from '@metamask/utils';
import type { Duplex } from 'stream';

Check failure on line 3 in src/MetaMaskInpageProvider.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (16.x)

There should be at least one empty line between import groups

Check failure on line 3 in src/MetaMaskInpageProvider.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (18.x)

There should be at least one empty line between import groups

Check failure on line 3 in src/MetaMaskInpageProvider.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (20.x)

There should be at least one empty line between import groups
import { UnvalidatedJsonRpcRequest } from './BaseProvider';

Check failure on line 4 in src/MetaMaskInpageProvider.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (16.x)

There should be no empty line within import group

Check failure on line 4 in src/MetaMaskInpageProvider.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (18.x)

There should be no empty line within import group

Check failure on line 4 in src/MetaMaskInpageProvider.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (20.x)

There should be no empty line within import group

import messages from './messages';
import { sendSiteMetadata } from './siteMetadata';
Expand Down

0 comments on commit 0f93326

Please sign in to comment.