-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add "missing customElement option" warning - add backwards compat support for customElement={null}
- Loading branch information
1 parent
6a01f48
commit 23ccb37
Showing
14 changed files
with
40 additions
and
36 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 | ||
--- | ||
|
||
chore: custom elements validation |
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
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
7 changes: 3 additions & 4 deletions
7
...es/svelte/tests/runtime-browser/custom-elements-samples/$$slot-dynamic-content/_config.js
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
1 change: 1 addition & 0 deletions
1
...s/svelte/tests/runtime-browser/custom-elements-samples/$$slot-dynamic-content/main.svelte
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
3 changes: 0 additions & 3 deletions
3
packages/svelte/tests/validator/samples/missing-custom-element-compile-options/_config.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
packages/svelte/tests/validator/samples/missing-custom-element-compile-options/input.svelte
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
packages/svelte/tests/validator/samples/missing-custom-element-compile-options/warnings.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/svelte/tests/validator/samples/tag-custom-element-options-missing/_config.js
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
packages/svelte/tests/validator/samples/tag-custom-element-options-missing/warnings.json
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"code": "missing-custom-element-compile-options", | ||
"code": "missing-custom-element-compile-option", | ||
"message": "The 'customElement' option is used when generating a custom element. Did you forget the 'customElement: true' compile option?", | ||
"start": { | ||
"line": 1, | ||
"column": 16 | ||
"column": 0 | ||
}, | ||
"end": { | ||
"line": 1, | ||
"column": 46 | ||
"column": 49 | ||
} | ||
} | ||
] |