Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new rule: no-octal-escape #257

Merged
merged 4 commits into from
Jun 3, 2018
Merged

new rule: no-octal-escape #257

merged 4 commits into from
Jun 3, 2018

Conversation

ajafff
Copy link
Member

@ajafff ajafff commented May 17, 2018

Checklist

Overview of change

`\x08`;
`\xa9${1}\8${2}\x07${3}a\x06b`;

const foo: '\x01' = '1';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fix will cause a type error, but it uncovers a bug in TypeScript's handling of octal escape sequences: microsoft/TypeScript#24209

@ajafff ajafff merged commit 572eb9f into master Jun 3, 2018
@ajafff ajafff deleted the no-octal-number branch June 3, 2018 19:36
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.

1 participant