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

Add `prefer-number-is-integer` rule

Open tristanHessell opened this issue 2 years ago • 7 comments

Fixes #1460.

One thing to note is that I couldn't run npm run integration to completion as my computer only has 4GB RAM.

tristanHessell avatar Sep 03 '21 14:09 tristanHessell

Thanks for the feedback on PR, I'll get onto updating this PR over the next week :)

tristanHessell avatar Sep 11 '21 07:09 tristanHessell

Sorry for the long delay, overall looks good. But I'm not sure if we want check == cases.

Can you fix tests?

fisker avatar Nov 05 '21 10:11 fisker

Happy to make the changes! Will get it done over the next week or so

TristanHessellHyper avatar Nov 13 '21 00:11 TristanHessellHyper

Bump :)

sindresorhus avatar Jan 23 '22 10:01 sindresorhus

@sindresorhus appreciated! I had forgot about this PR.

Working on it over the next couple of days

tristanHessell avatar Jan 25 '22 12:01 tristanHessell

@sindresorhus et al, this is ready or review :)

tristanHessell avatar Feb 01 '22 06:02 tristanHessell

@tristanHessell Bump

sindresorhus avatar Sep 20 '22 08:09 sindresorhus

Closing for lack of response.

sindresorhus avatar Feb 01 '23 15:02 sindresorhus