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

improve no-magic-numbers error message to contain the offending value #2067

Closed
HamletDRC opened this issue Jan 18, 2017 · 2 comments
Closed

Comments

@HamletDRC
Copy link
Contributor

When the no-magic-numbers rule fails it does not contain any information about why the failure occurred. Please add the constant that triggered the failure to the error message.

@joshghent
Copy link

Think this can be closed now!

@JoshuaKGoldberg
Copy link
Contributor

Oh hey yes, thanks @joshghent 😄

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

No branches or pull requests

3 participants