mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-10-30 15:19:49 +00:00
- @pezkuwi/dev, dev-test, dev-ts ^0.86.3 in the root and in every workspace package (they still asked for 0.84.3) - tsconfig.base target ES2022, the @pezkuwi/dev default; it carries the ErrorOptions type for `cause` - rethrown errors carry the original as `cause`; rejections are normalised to Error - page/messaging: the typed subscriber is called directly, not as `Function` - chrome mock: constant results through Promise.resolve - useLedger: drop a construction every branch below repeated - InputWithLabel: onKeyDown instead of the deprecated onKeyPress - Account: toggleActions + 1 instead of a pre-increment of a parameter - optional chains where a guard tested the same value - specs: mount<React.Component> so the wrappers are not `any`-typed - AccountsStore.set keeps its async override of KeyringStore.set: BaseStore.set handles its own failure, so it never rejects - extension-chains keeps its ChainProperties assertion: the package's own build does not load the type augmentation - the existing React Compiler findings (37, react-hooks rules only) are recorded in eslint-suppressions.json; a new one fails lint
106 lines
2.5 KiB
JSON
106 lines
2.5 KiB
JSON
{
|
|
"packages/extension-ui/src/Popup/Accounts/Account.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Accounts/index.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/CreateAccount/index.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Derive/DerivationPath.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Derive/SelectParent.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 3
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/ImportLedger.tsx": {
|
|
"react-hooks/refs": {
|
|
"count": 3
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/ImportSeed/index.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Signing/Extrinsic.tsx": {
|
|
"react-hooks/refs": {
|
|
"count": 3
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Signing/Request/SignArea.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
},
|
|
"react-hooks/static-components": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Signing/Request/index.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/Signing/index.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/Popup/index.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 2
|
|
}
|
|
},
|
|
"packages/extension-ui/src/components/Address.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 3
|
|
},
|
|
"react-hooks/static-components": {
|
|
"count": 2
|
|
}
|
|
},
|
|
"packages/extension-ui/src/components/ErrorBoundary.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 2
|
|
}
|
|
},
|
|
"packages/extension-ui/src/components/ValidatedInput.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/hooks/useIsMounted.ts": {
|
|
"react-hooks/refs": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/hooks/useLedger.ts": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
},
|
|
"react-hooks/set-state-in-render": {
|
|
"count": 4
|
|
}
|
|
},
|
|
"packages/extension-ui/src/hooks/useMetadata.ts": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 1
|
|
}
|
|
},
|
|
"packages/extension-ui/src/partials/AccountSelection.tsx": {
|
|
"react-hooks/set-state-in-effect": {
|
|
"count": 2
|
|
}
|
|
}
|
|
} |