Is there a "Overly complex arithmetic expression" rule for TS?

Example for a complex arithmetic expression:
let result = baseValue + ((i+1) * 24 * 60 * 60 * 1000)

Is there are rule to identify that? I didn’t find anything but there are a lot of rules so I don’t know if I missed it.

Hi @Daumel,

Thanks for bringing this up.

We currently don’t have a rule for this specifically. How would you rewrite this to be more clear?

Do you have other examples in mind?

We do have a related rule that might interest you:

However, by looking at the code, it seems to me like a Time or Date library would help in this particular case if there are many more calculations like this. What do you think?