0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/test/validator
Nguyen Tran ed575cc927
fix: make svelte-ignore work above components (#8338)
Fixes #8082, where svelte-ignore somehow does not pick up the reactive-component warning.

The issue on this problem is that the map_children function suppresses warnings and errors while traversing AST nodes as src/compiler/compile/nodes classes. However, the reactive-component warning is called in src/compiler/compile/render_dom/wrappers/InlineComponent/index.ts, and its warnings are not suppressed in map_children. Thus, we need to extract ignores and suppress here separately.
2023-03-01 11:06:15 +01:00
..
samples fix: make svelte-ignore work above components (#8338) 2023-03-01 11:06:15 +01:00
index.ts chore: Reduce number of lines of expected files (#8325) 2023-02-27 11:40:24 +01:00