eslint-plugin-unicorn icon indicating copy to clipboard operation
eslint-plugin-unicorn copied to clipboard

Don't prefer number properties for Infinity by default

Open Richienb opened this issue 3 months ago • 5 comments

We were discussing this on the tc39 forums... I don't think the consistency is worth it.

Infinity and -Infinity require less cognitive load and are easier to write than Number.POSITIVE_INFINTY and Number.NEGATIVE_INFINITY.

Richienb avatar Apr 06 '24 04:04 Richienb