Skip to content

Commit

Permalink
devDeps: @metamask/eslint-config*->12.1.0 (#1740)
Browse files Browse the repository at this point in the history
## Explanation

- Bump `@metamask/eslint-config*` packages to latest.
  - Bump `typedoc`,`typedoc-plugin-missing-exports` to satisfy peerDeps

## References

#### Related
- #1730
- #1718 
 
## Changelog

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate

---------

Co-authored-by: Maarten Zuidhoorn <[email protected]>
  • Loading branch information
2 people authored and MajorLift committed Oct 11, 2023
1 parent b725015 commit 0f5062c
Show file tree
Hide file tree
Showing 38 changed files with 309 additions and 293 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@
"@lavamoat/allow-scripts": "^2.3.1",
"@metamask/create-release-branch": "^1.1.0",
"@metamask/eslint-config": "^12.2.0",
"@metamask/eslint-config-jest": "^12.0.0",
"@metamask/eslint-config-nodejs": "^12.0.0",
"@metamask/eslint-config-typescript": "^12.0.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@metamask/eth-json-rpc-provider": "^1.0.0",
"@metamask/utils": "^8.1.0",
"@types/node": "^16.18.24",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@types/node": "^16.18.54",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint-plugin-jsdoc": "^39.9.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -60,7 +60,7 @@
"json-rpc-engine": "^6.1.0",
"nock": "^13.3.1",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.17",
"prettier-plugin-packagejson": "^2.4.5",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"ts-node": "^10.9.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"@types/readable-stream": "^2.3.0",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/announcement-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"immer": "^9.0.6",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"jest": "^27.5.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.1.0",
"@types/jest": "^27.4.1",
"@types/node": "^16.18.24",
"@types/node": "^16.18.54",
"deepmerge": "^4.2.2",
"ethjs-provider-http": "^0.1.6",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"nock": "^13.3.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import {
import { PreferencesController } from '@metamask/preferences-controller';
import HttpProvider from 'ethjs-provider-http';

import { mockNetwork } from '../../../tests/mock-network';
import {
AssetsContractController,
MISSING_PROVIDER_ERROR,
} from './AssetsContractController';
import { SupportedTokenDetectionNetworks } from './assetsUtil';
import { mockNetwork } from '../../../tests/mock-network';

const ERC20_UNI_ADDRESS = '0x1f9840a85d5af5bf1d1762f925bdaddc4201f984';
const ERC20_SAI_ADDRESS = '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359';
Expand Down
4 changes: 2 additions & 2 deletions packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"jest": "^27.5.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/composable-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"jest": "^27.5.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/controller-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"jest": "^27.5.1",
"nock": "^13.3.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ens-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gas-fee-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"nock": "^13.3.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { GWEI } from '@metamask/controller-utils';
import { BN } from 'ethereumjs-util';
import { fromWei } from 'ethjs-unit';

import medianOf from './medianOf';
import type { FeeHistoryBlock } from '../fetchBlockFeeHistory';
import type { Eip1559GasFee, GasFeeEstimates } from '../GasFeeController';
import medianOf from './medianOf';

export type PriorityLevel = (typeof PRIORITY_LEVELS)[number];
export type Percentile = (typeof PRIORITY_LEVEL_PERCENTILES)[number];
Expand Down
4 changes: 2 additions & 2 deletions packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"jest": "^27.5.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4",
"uuid": "^8.3.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/keyring-controller/src/KeyringController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import { bufferToHex } from 'ethereumjs-util';
import * as sinon from 'sinon';
import * as uuid from 'uuid';

import MockEncryptor, { mockKey } from '../tests/mocks/mockEncryptor';
import MockShallowGetAccountsKeyring from '../tests/mocks/mockShallowGetAccountsKeyring';
import type {
KeyringControllerEvents,
KeyringControllerMessenger,
Expand All @@ -34,8 +36,6 @@ import {
KeyringController,
KeyringTypes,
} from './KeyringController';
import MockEncryptor, { mockKey } from '../tests/mocks/mockEncryptor';
import MockShallowGetAccountsKeyring from '../tests/mocks/mockShallowGetAccountsKeyring';

jest.mock('uuid', () => {
return {
Expand Down
4 changes: 2 additions & 2 deletions packages/logging-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/message-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/name-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/name-controller/src/providers/ens.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ENSNameProvider } from './ens';
import { NameType } from '../types';
import { ENSNameProvider } from './ens';

jest.mock('../util');

Expand Down
2 changes: 1 addition & 1 deletion packages/name-controller/src/providers/etherscan.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EtherscanNameProvider } from './etherscan';
import { CHAIN_IDS } from '../constants';
import { NameType } from '../types';
import { handleFetch } from '../util';
import { EtherscanNameProvider } from './etherscan';

jest.mock('../util');

Expand Down
2 changes: 1 addition & 1 deletion packages/name-controller/src/providers/lens.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LensNameProvider } from './lens';
import { NameType } from '../types';
import { graphQL } from '../util';
import { LensNameProvider } from './lens';

jest.mock('../util');

Expand Down
2 changes: 1 addition & 1 deletion packages/name-controller/src/providers/token.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TokenNameProvider } from './token';
import { NameType } from '../types';
import { handleFetch } from '../util';
import { TokenNameProvider } from './token';

jest.mock('../util');

Expand Down
4 changes: 2 additions & 2 deletions packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"nock": "^13.3.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { BUILT_IN_NETWORKS, NetworkType } from '@metamask/controller-utils';
import { promisify } from 'util';

import { mockNetwork } from '../../../tests/mock-network';
import { createAutoManagedNetworkClient } from './create-auto-managed-network-client';
import * as createNetworkClientModule from './create-network-client';
import type {
CustomNetworkClientConfiguration,
InfuraNetworkClientConfiguration,
} from './types';
import { NetworkClientType } from './types';
import { mockNetwork } from '../../../tests/mock-network';

describe('createAutoManagedNetworkClient', () => {
const networkClientConfigurations: [
Expand Down
4 changes: 2 additions & 2 deletions packages/network-controller/tests/NetworkController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import { when, resetAllWhenMocks } from 'jest-when';
import { inspect, isDeepStrictEqual, promisify } from 'util';
import { v4 } from 'uuid';

import type { FakeProviderStub } from './fake-provider';
import { FakeProvider } from './fake-provider';
import { FakeBlockTracker } from '../../../tests/fake-block-tracker';
import { NetworkStatus } from '../src/constants';
import type { NetworkClient } from '../src/create-network-client';
Expand All @@ -31,6 +29,8 @@ import type {
import { NetworkController } from '../src/NetworkController';
import type { Provider } from '../src/types';
import { NetworkClientType } from '../src/types';
import type { FakeProviderStub } from './fake-provider';
import { FakeProvider } from './fake-provider';

jest.mock('../src/create-network-client');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testsForProviderType } from './provider-api-tests/shared-tests';
import { NetworkClientType } from '../src/types';
import { testsForProviderType } from './provider-api-tests/shared-tests';

for (const clientType of Object.values(NetworkClientType)) {
describe(`createNetworkClient - ${clientType}`, () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/notification-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/permission-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/phishing-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"nock": "^13.3.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/polling-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/preferences-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rate-limit-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^0.23.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~4.8.4"
},
"engines": {
Expand Down
Loading

0 comments on commit 0f5062c

Please sign in to comment.