Apply suggestions from code review

pull/12479/head
Rich Harris 2 years ago committed by GitHub
parent 04246be0cb
commit ad7cc71e60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -16,7 +16,7 @@
## attribute_quoted ## 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. > 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
## bind_invalid_each_rest ## bind_invalid_each_rest

@ -688,11 +688,11 @@ export function attribute_invalid_property_name(node, wrong, right) {
} }
/** /**
* 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. * 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
* @param {null | NodeLike} node * @param {null | NodeLike} node
*/ */
export function attribute_quoted(node) { export function attribute_quoted(node) {
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."); 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");
} }
/** /**

@ -25,7 +25,7 @@
}, },
{ {
"code": "attribute_quoted", "code": "attribute_quoted",
"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.", "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",
"start": { "start": {
"column": 14, "column": 14,
"line": 18 "line": 18
@ -37,7 +37,7 @@
}, },
{ {
"code": "attribute_quoted", "code": "attribute_quoted",
"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.", "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",
"start": { "start": {
"column": 16, "column": 16,
"line": 21 "line": 21

Loading…
Cancel
Save