Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-magic-numbers doesn't ignore special nodes for negative #s #2005

Closed
nchen63 opened this issue Jan 7, 2017 · 0 comments · Fixed by #2035
Closed

no-magic-numbers doesn't ignore special nodes for negative #s #2005

nchen63 opened this issue Jan 7, 2017 · 0 comments · Fixed by #2035
Assignees

Comments

@nchen63
Copy link
Contributor

nchen63 commented Jan 7, 2017

This fails, but it shouldn't because it's an export node:
export let x = -4;

also, rename isUnary in that class to isNegativeNumber

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant