We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems odd that I get an error if I do something like:
const LATEST_ALLOWED_VALIDITY = 90 * 24 * 60 * 60 * 1000; // 90 days in the future in milliseconds
The error is on 90 being a magic number but I'm really just defining a constant and I shouldn't need a separate constant just for the number 90.
The text was updated successfully, but these errors were encountered:
jpolavar
No branches or pull requests
It seems odd that I get an error if I do something like:
const LATEST_ALLOWED_VALIDITY = 90 * 24 * 60 * 60 * 1000; // 90 days in the future in milliseconds
The error is on 90 being a magic number but I'm really just defining a constant and I shouldn't need a separate constant just for the number 90.
The text was updated successfully, but these errors were encountered: