trezor-suite
trezor-suite copied to clipboard
Add rule to enforce inline function when possible
To simplify a code, it would be nice to have arrow function where possible.
There is a ESLint rule for it: https://eslint.org/docs/latest/rules/arrow-body-style
Draft implementation: https://github.com/trezor/trezor-suite/pull/13074/files