Commit 7c7f2be
committed
chore: Update
The ESLint configuration for TypeScript has been updated to prepare for
ESLint v9 (this is the last major version before ESLint v9 is
required). Various related libraries needed to be updated as well.
The most disruptive part is that in v13, `eslint-plugin-import` was
replaced with `eslint-plugin-import-x`. This required widespread
changes to any reference to an `import/` rule (it's now `import-x/`),
but there should be no functional changes. `eslint-plugin-import-x` is
a drop-in replacement for `eslint-plugin-import`.@metamask/eslint-config-typescript to v131 parent 38ebc67 commit 7c7f2be
File tree
354 files changed
+1045
-725
lines changed- app
- __mocks__
- @metamask
- actions
- security
- component-library
- base-components/TagBase
- components-temp
- MainActionButton
- Price/AggregatedPercentage
- SegmentedControl
- TagColored
- components
- Avatars
- AvatarGroup
- Avatar
- foundation/AvatarBase
- variants
- AvatarAccount
- AvatarFavicon
- AvatarIcon
- AvatarNetwork
- AvatarToken
- Badges
- BadgeWrapper
- Badge/variants
- BadgeNetwork
- BadgeStatus
- Banners/Banner
- foundation/BannerBase
- variants
- BannerAlert
- BannerTip
- BottomSheets
- BottomSheet/foundation/BottomSheetDialog
- Buttons
- ButtonIcon
- Button
- foundation/ButtonBase
- variants
- ButtonLink
- ButtonPrimary
- ButtonSecondary
- Cells/Cell
- Checkbox
- Form
- HelpText
- Label
- TextField/foundation/Input
- Icons/Icon
- scripts
- List
- ListItemColumn
- ListItemMultiSelect
- ListItemSelect
- ListItem
- Modals/ModalConfirmation
- Overlay
- Pickers
- PickerAccount
- PickerNetwork
- RadioButton
- Select
- SelectButton
- foundation
- SelectOption
- SelectValue
- Tags/TagUrl
- Texts
- TextWithPrefixIcon
- Text
- Toast
- constants
- hooks
- components
- Approvals/InstallSnapApproval/components
- InstallSnapConnectionRequest
- InstallSnapError
- InstallSnapPermissionsRequest
- InstallSnapSuccess
- UI
- AddCustomCollectible
- AssetList
- AssetOverview/TokenDetails
- MarketDetailsList
- BiometryButton
- Bridge/hooks
- useAutoUpdateDestToken
- useSwitchTokens
- Button
- Carousel
- CollectibleMedia
- DeepLinkModal
- DeleteWalletModal
- Earn
- Views
- EarnInputView
- EarnLendingWithdrawalConfirmationView
- components/EarnTokenList
- selectors/featureFlags
- FoxScreen
- HardwareWallet
- AccountDetails
- AccountSelector
- LedgerModals
- Steps
- LoginOptionsSwitch
- Notification
- Empty
- List
- NotificationMenuItem
- __mocks__
- OTAUpdatesModal
- PaymentRequestSuccess
- Perps
- components
- PerpsDiscoveryBanner
- PerpsTabControlBar
- PerpsTutorialCarousel
- hooks
- selectors/featureFlags
- Predict
- hooks
- selectors/featureFlags
- QRHardware
- Ramp/Aggregator
- Views/Quotes
- components
- OrderListItem
- utils
- ReviewModal
- Rewards/components/RewardPointsAnimation
- SDKLoading
- SecurityOptionToggle
- SimulationDetails
- BatchApprovalRow
- SliderButton
- SlippageSlider
- Stake/sdk
- StyledButton
- TokenDetails/hooks
- Tokens
- TransactionElement
- Trending/hooks
- useSearchRequest
- useTrendingRequest
- TurnOffRememberMeModal
- UpdateNeeded
- WhatsNewModal
- Views
- AccountActions
- ActivityView
- ConnectQRHardware/Instruction
- Identity/TurnOnBackupAndSync
- ImportNewSecretRecoveryPhrase
- ImportPrivateKey
- LockScreen
- ManualBackupStep1
- MultiRpcModal
- MultichainAccounts/IntroModal
- NFTAutoDetectionModal
- NetworkSelector
- Notifications
- Details
- Fields
- OptIn
- OfflineMode
- QRScanner
- Quiz
- QuizContent
- SRPQuiz
- RestoreWallet
- RevealPrivateCredential
- Settings
- AppInformation
- NetworksSettings/NetworkSettings
- NotificationsSettings
- NotificationOptionToggle
- SecuritySettings/Sections
- ChangePassword
- ClearPrivacy
- ProtectYourWallet
- SimpleWebview
- Snaps
- SnapSettings
- SnapsSettingsList
- components
- SnapDescription
- SnapDetails
- SnapElement
- SnapPermissionCell
- SnapPermissions
- SnapVersionTag
- WalletCreationError
- confirmations
- components
- approve-static-simulations
- approve-and-permit2
- increase-decrease-allowance
- confirmation-asset-polling-provider
- info-root
- info
- contract-interaction
- typed-sign-v3v4
- modals
- ledger-sign-modal
- switch-account-type-modal
- nft-list
- qr-info
- send/amount/amount-keyboard
- smart-account-update-content
- smart-account-update-modal
- smart-account-update-splash
- smart-contract-with-logo
- token-list
- context
- ledger-context
- qr-hardware-context
- hooks
- 7702
- alerts
- send
- signatures
- utils
- transactions/SmartTransactionStatus
- hooks
- constants
- core
- Authentication
- BackgroundBridge
- DeeplinkManager/handlers/legacy/__tests__
- Engine/controllers
- network-controller
- notifications
- snaps
- Performance
- Permissions
- RPCMethods
- Snaps
- location
- WalletConnect
- features/SampleFeature/e2e/pages
- lib
- ppom
- snaps
- reducers
- collectibles
- swaps
- selectors
- earnController/earn
- featureFlagController
- fullPageAccountList
- homepage
- otaUpdates
- rewards
- trxStakingEnabled
- store
- util
- blockaid
- identity/hooks
- useAuthentication
- useBackupAndSync
- useContactSyncing
- logs
- networks
- notifications
- hooks
- services
- onboarding
- hooks/useCompletedOnboardingEffect
- sentry
- smart-transactions
- test
- component-view
- transaction-controller
- transactions
- locales
- scripts
- tests
- framework
- config
- fixtures
- services
- appium
- providers/browserstack
- utils
- performance/mm-connect
- regression/wallet
- reporters
- resources
- seeder
- smoke
- api-specs
- identity/utils/user-storage
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
354 files changed
+1045
-725
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
336 | | - | |
337 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments