-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
4b1b886
commit 64d2a2e
Showing
31 changed files
with
419 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'svelte': patch | ||
--- | ||
|
||
feat: allow ignoring runtime warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.