Skip to content

Conversation

jishi
Copy link
Contributor

@jishi jishi commented Jun 2, 2016

I suggest we remove the radix linting rule (or perhaps switch to warn) since the octal parsing issue no longer affects node.js.

I believe this rule stems from the fact that parseInt('010') would return 8 previously, since radix 8 was inferred from the preceding 0. Nowadays only hexadeximal radix is inferred from the 0x prefix, which IMO makes this linting rule redundant (but not for browsers though), since we only target Node.js with this?

@dbrockman dbrockman merged commit 50694e9 into master Jun 2, 2016
@dbrockman dbrockman deleted the remove-radix branch June 2, 2016 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants