mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 07:07:31 +00:00
66382e791b
The desktop panel declared its button component inside its render, so every state change (each lookup landing, each send starting and ending) made a new component type and React remounted every button: focus and hover were lost, and a click that arrived during a re-render went to a button that was no longer there. Btn now lives at module level and takes the send in flight as a prop, as the phone panel's Btn already does. FE-ADMIN-DEVNOTIF-017 holds a button across the lookups landing and expects the same element; it fails with the old panel.
53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"src": {
|
|
"@typescript-eslint/no-non-null-assertion": 354,
|
|
"@typescript-eslint/no-misused-promises": 820,
|
|
"no-console": 88,
|
|
"complexity": 216,
|
|
"@typescript-eslint/no-explicit-any": 138,
|
|
"trek/no-swallowed-catch": 126,
|
|
"max-params": 31,
|
|
"trek/store-without-selector": 66,
|
|
"react-hooks/refs": 534,
|
|
"react-hooks/set-state-in-effect": 189,
|
|
"@typescript-eslint/no-floating-promises": 162,
|
|
"react-hooks/exhaustive-deps": 113,
|
|
"@typescript-eslint/no-unused-vars": 117,
|
|
"react-hooks/immutability": 28,
|
|
"max-lines-per-function": 127,
|
|
"react-hooks/static-components": 38,
|
|
"react-hooks/preserve-manual-memoization": 12,
|
|
"no-useless-assignment": 7,
|
|
"no-empty": 19,
|
|
"trek/no-window-globals": 41,
|
|
"react-refresh/only-export-components": 44,
|
|
"unused-disable-directive": 5,
|
|
"max-depth": 21,
|
|
"react-hooks/void-use-memo": 1,
|
|
"@typescript-eslint/no-unused-expressions": 2,
|
|
"react-hooks/purity": 1,
|
|
"preserve-caught-error": 53,
|
|
"no-useless-escape": 1
|
|
},
|
|
"suppressed": {
|
|
"@typescript-eslint/no-explicit-any": 38,
|
|
"react-hooks/exhaustive-deps": 44
|
|
},
|
|
"tests": {
|
|
"@typescript-eslint/no-explicit-any": 489,
|
|
"@typescript-eslint/no-non-null-assertion": 1872,
|
|
"@typescript-eslint/no-misused-promises": 22,
|
|
"@typescript-eslint/no-unused-vars": 51,
|
|
"@typescript-eslint/no-floating-promises": 33,
|
|
"trek/no-window-globals": 325,
|
|
"trek/no-swallowed-catch": 14,
|
|
"react-hooks/globals": 5,
|
|
"react-hooks/refs": 22,
|
|
"@typescript-eslint/no-this-alias": 1,
|
|
"trek/store-without-selector": 3,
|
|
"@typescript-eslint/no-unsafe-function-type": 2,
|
|
"no-console": 2,
|
|
"react-refresh/only-export-components": 1
|
|
}
|
|
}
|