Skip to content

Commit ad7cc71

Browse files
authored
Apply suggestions from code review
1 parent 04246be commit ad7cc71

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/svelte/messages/compile-warnings/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
## attribute_quoted
1818

19-
> Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes.
19+
> Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes
2020
2121
## bind_invalid_each_rest
2222

packages/svelte/src/compiler/warnings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,11 @@ export function attribute_invalid_property_name(node, wrong, right) {
688688
}
689689

690690
/**
691-
* Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes.
691+
* Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes
692692
* @param {null | NodeLike} node
693693
*/
694694
export function attribute_quoted(node) {
695-
w(node, "attribute_quoted", "Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes.");
695+
w(node, "attribute_quoted", "Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes");
696696
}
697697

698698
/**

packages/svelte/tests/validator/samples/attribute-quoted/warnings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
{
2727
"code": "attribute_quoted",
28-
"message": "Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes.",
28+
"message": "Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes",
2929
"start": {
3030
"column": 14,
3131
"line": 18
@@ -37,7 +37,7 @@
3737
},
3838
{
3939
"code": "attribute_quoted",
40-
"message": "Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes.",
40+
"message": "Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes",
4141
"start": {
4242
"column": 16,
4343
"line": 21

0 commit comments

Comments
 (0)