File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
packages/svelte/src/compiler/utils Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,14 @@ const regex_svelte_ignore = /^\s*svelte-ignore\s/;
5
5
6
6
/** @type {Record<string, string> } Map of legacy code -> new code */
7
7
const replacements = {
8
- 'non-top-level-reactive-declaration' : 'reactive_declaration_invalid_placement'
8
+ 'non-top-level-reactive-declaration' : 'reactive_declaration_invalid_placement' ,
9
+ 'module-script-reactive-declaration' : 'reactive_declaration_module_script' ,
10
+ 'empty-block' : 'block_empty' ,
11
+ 'avoid-is' : 'attribute_avoid_is' ,
12
+ 'invalid-html-attribute' : 'attribute_invalid_property_name' ,
13
+ 'a11y-structure' : 'a11y_figcaption_parent' ,
14
+ 'illegal-attribute-character' : 'attribute_illegal_colon' ,
15
+ 'invalid-rest-eachblock-binding' : 'bind_invalid_each_rest'
9
16
} ;
10
17
11
18
/**
You can’t perform that action at this time.
0 commit comments