0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 17:00:40 +01:00
svelte/test/parser/samples
Mohammed Al-Qurafi 1b33248ead
#6299 - Throw a compile error when passing an empty directive name (#6300)
* Compile error when passing empty directive names

* Revert "Compile error when passing empty directive names"

This reverts commit ac8718b3a4.

* Compile error when passing empty directive names

* Adjust empty-directive-name error offset
2021-06-28 18:13:02 +08:00
..
action always add raw property to text nodes 2019-05-26 14:48:10 +02:00
action-duplicate allow duplicates of the same action on an element (#5875) 2021-01-25 15:55:12 -05:00
action-with-call update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
action-with-identifier fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
action-with-literal Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
animation update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
attribute-containing-solidus always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-dynamic fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
attribute-dynamic-boolean fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
attribute-escaped Fix parsing ambiguous HTML entities (#3071) 2019-06-23 08:41:56 -04:00
attribute-multiple always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-shorthand always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-static always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-static-boolean always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-unique-binding-error disallow simultaneous foo / {foo} / bind:foo (#4343) 2020-01-30 09:25:16 -05:00
attribute-unique-error rename .html files to .svelte 2019-02-08 08:48:10 -05:00
attribute-unique-shorthand-error disallow simultaneous foo / {foo} / bind:foo (#4343) 2020-01-30 09:25:16 -05:00
attribute-unquoted always add raw property to text nodes 2019-05-26 14:48:10 +02:00
attribute-with-whitespace fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
await-catch update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
await-then-catch update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
binding fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
binding-shorthand Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
comment always add raw property to text nodes 2019-05-26 14:48:10 +02:00
component-dynamic Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
convert-entities always add raw property to text nodes 2019-05-26 14:48:10 +02:00
convert-entities-in-element always add raw property to text nodes 2019-05-26 14:48:10 +02:00
css update css-tree@^1.1.2 (#5958) 2021-02-08 12:05:39 -05:00
dynamic-import update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block-destructured dry {#each}/{#await} destructuring (#4596) 2020-05-11 11:37:27 -04:00
each-block-else update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block-indexed update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
each-block-keyed update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
element-with-mustache fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
element-with-text always add raw property to text nodes 2019-05-26 14:48:10 +02:00
elements always add raw property to text nodes 2019-05-26 14:48:10 +02:00
error-catch-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-catch-without-await then and catch block expect await, optional then block 2019-10-18 17:59:50 +08:00
error-comment-unclosed rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-css rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-css-global-without-selector throw parser error when :global() appears without a selector (#4936) 2020-06-08 11:20:34 -04:00
error-else-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-before-closing-2 better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-before-closing-3 better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-if-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-if-before-closing-2 better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-else-if-without-if better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-empty-attribute-shorthand Add a more descriptive message for the error generated by an empty shorthand attribute (#6217) 2021-06-22 15:33:50 +02:00
error-empty-classname-binding #6299 - Throw a compile error when passing an empty directive name (#6300) 2021-06-28 18:13:02 +08:00
error-empty-directive-name #6299 - Throw a compile error when passing an empty directive name (#6300) 2021-06-28 18:13:02 +08:00
error-illegal-expression rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-multiple-styles rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-script-unclosed rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-self-reference allow <svelte:self> to be part of a slot (#4532) 2020-03-12 07:51:59 -04:00
error-svelte-selfdestructive implement <svelte:fragment> (#4556) 2021-02-27 12:43:53 -05:00
error-then-before-closing better error messages for else, elseif, then, catch with unclosed tag (#4136) 2020-02-08 23:59:43 -05:00
error-then-without-await then and catch block expect await, optional then block 2019-10-18 17:59:50 +08:00
error-unexpected-end-of-input rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unexpected-end-of-input-b rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unexpected-end-of-input-c rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unexpected-end-of-input-d rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unmatched-closing-tag rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-unmatched-closing-tag-autoclose better error message for mismatched tags due to autoclosing (#5060) 2020-07-24 14:48:43 -04:00
error-unmatched-closing-tag-autoclose-2 better error message for mismatched tags due to autoclosing (#5060) 2020-07-24 14:48:43 -04:00
error-void-closing rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-children rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-duplicate rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-inside-block rename .html files to .svelte 2019-02-08 08:48:10 -05:00
error-window-inside-element rename .html files to .svelte 2019-02-08 08:48:10 -05:00
event-handler fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
if-block fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
if-block-else fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
if-block-elseif Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
implicitly-closed-li always add raw property to text nodes 2019-05-26 14:48:10 +02:00
implicitly-closed-li-block fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
nbsp always add raw property to text nodes 2019-05-26 14:48:10 +02:00
no-error-if-before-closing update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
raw-mustaches Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
raw-mustaches-whitespace-error require whitespace after {@html (#2154) 2019-03-06 12:42:40 -05:00
refs fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
script fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
script-comment-only preserve js comments where possible (#4293) 2020-01-20 21:17:24 -05:00
script-comment-trailing fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
script-comment-trailing-multiline fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
self-closing-element always add raw property to text nodes 2019-05-26 14:48:10 +02:00
self-reference Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
slotted-element fix missing slotted elements in AST (#6148) 2021-03-29 22:55:52 -04:00
space-between-mustaches fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
spread fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00
style-inside-head add missing end AST property to non-top-level <style> tags (#5487) 2020-10-02 09:30:17 -04:00
textarea-children fix missing slotted elements in AST (#6148) 2021-03-29 22:55:52 -04:00
textarea-end-tag fix textarea end tag parsing (#6424) 2021-06-22 09:43:51 -04:00
transition-intro Structured code generation (#3539) 2019-10-16 10:57:23 -04:00
transition-intro-no-params always add raw property to text nodes 2019-05-26 14:48:10 +02:00
unusual-identifier update acorn@^7.3.1 for optional chaining support (#5013) 2020-06-27 05:58:21 -04:00
whitespace-leading-trailing always add raw property to text nodes 2019-05-26 14:48:10 +02:00
whitespace-normal fix handling of reserved keywords when parsing (#4390) 2020-02-09 00:04:21 -05:00