feat: allow ignoring runtime warnings (#12608)
* feat: allow ignoring binding_property_non_reactive
* chore: add comments before `to_ignore`
* chore: fix warnings regeneration
* chore: include client warnings code in svelte ignore extract
* feat: allow ignoring state_snapshot_uncloneable
* chore: abstract ignore into function
* feat: allow skipping of `hydration_attribute_changed`
* feat: allow skip of `hydration_html_changed`
* feat: allow skipping `ownership_invalid_binding`
* chore: revert extracting codes and use hardcoded list
* chore: update changeset
* feat: allow skipping `ownership_invalid_mutation`
* is_to_ignore -> is_ignored
* make is_ignored type safe
* tweak
* tweak naming
* tweak
* remove extra args
* comment is redundant, code contains enough information
* remove more unwanted args
* lint
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
|