-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathtest01-errors.yaml
42 lines (42 loc) · 1.2 KB
/
test01-errors.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
- message: Do not create functions inside reactive statements unless absolutely
necessary.
line: 3
column: 5
suggestions:
- desc: Move the function out of the reactive statement
messageId: fixReactiveFns
output: |
<!-- prettier-ignore -->
<script>
const arrow = () => {}
$: fn = function() {}
$:nospace = () => {}
</script>
- message: Do not create functions inside reactive statements unless absolutely
necessary.
line: 4
column: 5
suggestions:
- desc: Move the function out of the reactive statement
messageId: fixReactiveFns
output: |
<!-- prettier-ignore -->
<script>
$: arrow = () => {}
const fn = function() {}
$:nospace = () => {}
</script>
- message: Do not create functions inside reactive statements unless absolutely
necessary.
line: 5
column: 5
suggestions:
- desc: Move the function out of the reactive statement
messageId: fixReactiveFns
output: |
<!-- prettier-ignore -->
<script>
$: arrow = () => {}
$: fn = function() {}
const nospace = () => {}
</script>