typescript-estree
typescript-estree copied to clipboard
Legacy octal numbers
Right now we are converting raw value to number by calling parse function from js, but there is one syntax witch is allowed in nonstrict mode 0777
this is legacy way to do binary values, before 0b777 was added
right now we are setting value of node to 777 and we should set it to 511
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_octal
while doing this we have to make sure that we support https://github.com/tc39/proposal-numeric-separator