-
Notifications
You must be signed in to change notification settings - Fork 20
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
Option to manually disable warnings #71
Comments
reportMissingException might be partially what you're looking for. Though I agree it might be good to be able to selectively mute any error (like the CSP ones for example). You're now reminding me of something I've been meaning to fix – I think SecureHeaders will warn for |
Just to rephrase slightly – for the first situation if you're using hashes and nonces in addition to |
Yes, my first use case is exactly the "degrade gracefully" one you described. |
I'll re-open this to keep a pin in it so I remember to add the ability to turn off specific warnings/notices :) In principle I wouldn't recommend ignoring the CSP warnings for example (at least when they're doing the right thing). Though if a user really doesn't want to see a particular warning, I would rather they muted a single warning type than everything in bulk and being blind to all problems – so I think it is worthwhile adding this granularity. |
I with you that having Warnings and Notices is a wonderful thing while developing, but it seems that it's not possible to manually disable them in any way.
Use cases:
If there were some way to selectively disable some warnings (of course they must be enabled by default), it would be great
The text was updated successfully, but these errors were encountered: