mirror of
https://github.com/RabbyHub/Rabby.git
synced 2026-01-10 20:58:04 -05:00
* WIP: feat: improve refresh ux of home balance section. * feat: cache previously loaded balance & curvePoint for address. * fix: avoid show spining refresh button if home balance cache detected * feat: deprecate `homeBalanceLoadingExpiration`, timing on background memory. * feat: tuning refresh delay after tx completed. * feat: notify refresh balance after tx completed. * chore: cleanup. * fix: env var. * fix: loading style for percentage. * feat: force expire address's balance/netCurve after tx completed, style tuning. * fix: value robust. * fix: type & typo. * feat: wider refresh-trigger area. * feat: refresh on next-time open dashboard after tx completed. * feat: tuning refresh balance timeout, clear balance cache right away after tx completed. * fix: avoid dead reaction on click refresh button. * feat: don't show change percentage if no start usd value. * feat: disable auto refresh on UI. * feat: don't trigger immediate refresh after tx completed. * feat: only trigger expiration once on entering dashboard.
31 lines
763 B
Plaintext
31 lines
763 B
Plaintext
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"rules": {
|
|
"quotes": [1, "single", "avoid-escape"],
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"endOfLine": "auto"
|
|
}
|
|
],
|
|
"react-hooks/exhaustive-deps": ["off", {
|
|
"additionalHooks": "(useWallet)"
|
|
}]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
}
|
|
}
|