generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
chore: update lint tools versions + use ts 5 #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9e3dd15
chore: update eslint (^8.55.0) + align @metamask/eslint-config-* (^13…
ccharly a743d76
chore: update rimraf (^5.0.10) + prettier-plugin-packagejson (^2.5.2)
ccharly 4eae793
refactor(keyring-api): fix new eslint errors
ccharly 0575f0e
refactor(keyring-eth-hd): fix new eslint errors
ccharly 64d25e1
refactor(keyring-eth-ledger-bridge): fix new eslint errors
ccharly 4e66c6e
refactor(keyring-eth-trezor): fix new eslint errors
ccharly aae45b7
refactor(keyring-snap-bridge): fix new eslint errors
ccharly 1c35590
chore: fix more linting errors
danroc b31ba85
refactor(keyring-eth-trezor): fix new eslint errors
ccharly bf8f086
chore: fix more linting errors
danroc d6f7572
chore: fix more linting errors
danroc 59b1046
chore(deps): align versions of `rimraf`
danroc e32dcb0
chore: update `yarn.lock`
danroc 5a8cc28
chore(deps): update `eslint-plugin-jest`
danroc 10e55ef
chore: rename `expectSync` to `noPending`
danroc 79a7804
chore(deps-dev): bump 'typescript' to 5.4.5
danroc 3aab831
chore: comment unused 'setup.ts' file
danroc 8d8a883
chore: update `expectSync` -> `noPending`
danroc 6f9a4a8
chore(eslint): disable false positive
danroc 54eb2a9
chore: switch `#validateRedirectUrl` back to a sync method
danroc 006878f
refactor(keyring-eth-ledger-bridge): export AccountPage{,Entry}
ccharly f916f75
refactor(keyring-eth-trezor): export AccountPage{,Entry}
ccharly 0ebf5a7
chore(keyring-eth-ledger-bridge): add more comments
ccharly fff0e11
refactor(keyring-eth-simple): rename import './simple-keyring' to '.'
ccharly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,36 +48,36 @@ | |
"@lavamoat/allow-scripts": "^3.2.1", | ||
"@lavamoat/preinstall-always-fail": "^2.1.0", | ||
"@metamask/create-release-branch": "^3.0.1", | ||
"@metamask/eslint-config": "^12.2.0", | ||
"@metamask/eslint-config-jest": "^12.1.0", | ||
"@metamask/eslint-config-nodejs": "^12.1.0", | ||
"@metamask/eslint-config-typescript": "^12.1.0", | ||
"@metamask/eslint-config": "^13.0.0", | ||
"@metamask/eslint-config-jest": "^13.0.0", | ||
"@metamask/eslint-config-nodejs": "^13.0.0", | ||
"@metamask/eslint-config-typescript": "^13.0.0", | ||
"@npmcli/package-json": "^5.0.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.12.12", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"@typescript-eslint/parser": "^5.43.0", | ||
"@typescript-eslint/eslint-plugin": "^8.5.0", | ||
"@typescript-eslint/parser": "^8.5.0", | ||
"depcheck": "^1.4.7", | ||
"eslint": "^8.44.0", | ||
"eslint": "^8.55.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-import": "~2.26.0", | ||
"eslint-plugin-jest": "^27.2.2", | ||
"eslint-plugin-jsdoc": "^39.9.1", | ||
"eslint-plugin-n": "^15.7.0", | ||
"eslint-plugin-import-x": "^0.5.3", | ||
"eslint-plugin-jest": "^27.9.0", | ||
"eslint-plugin-jsdoc": "^47.0.2", | ||
"eslint-plugin-n": "^16.6.2", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-promise": "^6.6.0", | ||
"execa": "^5.0.0", | ||
"jest": "^29.5.0", | ||
"jest-it-up": "^3.1.0", | ||
"jest-silent-reporter": "^0.5.0", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-packagejson": "^2.3.0", | ||
"rimraf": "^5.0.7", | ||
"prettier-plugin-packagejson": "^2.5.2", | ||
"rimraf": "^5.0.10", | ||
"syncpack": "^13.0.0", | ||
"ts-jest": "^29.0.5", | ||
"ts-node": "^10.9.2", | ||
"typedoc": "^0.25.13", | ||
"typescript": "~4.8.4" | ||
"typescript": "~5.4.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import type { BtcP2wpkhAccount } from './types'; | ||
import type { KeyringAccount } from '../api'; | ||
import type { Extends } from '../utils'; | ||
import { expectTrue } from '../utils'; | ||
import type { BtcP2wpkhAccount } from './types'; | ||
|
||
// `BtcP2wpkhAccount` extends `KeyringAccount` | ||
expectTrue<Extends<BtcP2wpkhAccount, KeyringAccount>>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './EthKeyring'; | ||
export type * from './EthKeyring'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export * from './api'; | ||
export * from './eth'; | ||
export type * from './eth'; | ||
export * from './events'; | ||
export * from './rpc'; | ||
export * from './types'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.