trezor-suite icon indicating copy to clipboard operation
trezor-suite copied to clipboard

Add rule to enforce inline function when possible

Open peter-sanderson opened this issue 8 months ago • 1 comments

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

peter-sanderson avatar Jun 25 '24 13:06 peter-sanderson