[server] Force the declaration of variable with const, when the variable is not reassigned.
Most changes from the MR are generated by yarn pretty
. However, some more changes were needed :
- in
server/controllers/categories.js
: assignement in a single line. - in
server/controlles/ofx.js
: needed to create an intermediate variable fortimezoneOffset
, namednormalizedTimezoneOffset
, to avoid reassignement.
These files then require extra attention.
Edited by Antoine