File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,15 @@ HTML restricts where certain elements can appear. In case of a violation the bro
344
344
345
345
## svelte_options_invalid_tagname
346
346
347
- > Tag name must be two or more words joined by the "-" character
347
+ > Tag name must be lowercase and hyphenated
348
+
349
+ See https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name for more information on valid tag names
348
350
349
351
## svelte_options_reserved_tagname
350
352
351
- > Tag name is reserved and conflicts with standard element names
353
+ > Tag name is reserved
354
+
355
+ See https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name for more information on valid tag names
352
356
353
357
## svelte_options_unknown_attribute
354
358
Original file line number Diff line number Diff line change @@ -1352,21 +1352,21 @@ export function svelte_options_invalid_customelement_shadow(node) {
1352
1352
}
1353
1353
1354
1354
/**
1355
- * Tag name must be two or more words joined by the "-" character
1355
+ * Tag name must be lowercase and hyphenated
1356
1356
* @param {null | number | NodeLike } node
1357
1357
* @returns {never }
1358
1358
*/
1359
1359
export function svelte_options_invalid_tagname ( node ) {
1360
- e ( node , "svelte_options_invalid_tagname" , "Tag name must be two or more words joined by the \"-\" character " ) ;
1360
+ e ( node , "svelte_options_invalid_tagname" , "Tag name must be lowercase and hyphenated " ) ;
1361
1361
}
1362
1362
1363
1363
/**
1364
- * Tag name is reserved and conflicts with standard element names
1364
+ * Tag name is reserved
1365
1365
* @param {null | number | NodeLike } node
1366
1366
* @returns {never }
1367
1367
*/
1368
1368
export function svelte_options_reserved_tagname ( node ) {
1369
- e ( node , "svelte_options_reserved_tagname" , "Tag name is reserved and conflicts with standard element names " ) ;
1369
+ e ( node , "svelte_options_reserved_tagname" , "Tag name is reserved" ) ;
1370
1370
}
1371
1371
1372
1372
/**
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"code" : " svelte_options_invalid_tagname" ,
4
- "message" : " Tag name must be two or more words joined by the \" - \" character " ,
4
+ "message" : " Tag name must be lowercase and hyphenated " ,
5
5
"start" : {
6
6
"line" : 1 ,
7
7
"column" : 16
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"code" : " svelte_options_reserved_tagname" ,
4
- "message" : " Tag name is reserved and conflicts with standard element names " ,
4
+ "message" : " Tag name is reserved" ,
5
5
"start" : {
6
6
"line" : 1 ,
7
7
"column" : 16
You can’t perform that action at this time.
0 commit comments