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
error-message false positive if Error shadowed
error-message
import Error from 'rerror'; // wrong: Error message should be a string const err = new Error({ name: 'Unauthorized', });
The text was updated successfully, but these errors were encountered:
Add this
eslint-plugin-unicorn/rules/new-for-builtins.js
Lines 18 to 20 in 2d05252
eslint-plugin-unicorn/rules/error-message.js
Line 30 in 2d05252
Sorry, something went wrong.
Error
Successfully merging a pull request may close this issue.
error-message
false positive if Error shadowedThe text was updated successfully, but these errors were encountered: