|
3 | 3 |
|
4 | 4 | # stdout |
5 | 5 | ``` |
6 | | - x interpolation-test(no-var): Variable {{name}} should not use var |
| 6 | + x interpolation-test(no-var): Variables should not use var |
7 | 7 | ,-[files/index.js:1:1] |
8 | 8 | 1 | var testWithNoData = {}; |
9 | 9 | : ^^^^^^^^^^^^^^^^^^^^^^^^ |
10 | 10 | 2 | var testWithName = {}; |
11 | 11 | `---- |
12 | 12 |
|
13 | | - x interpolation-test(no-var): Variable testWithName of type string should not use var |
| 13 | + x interpolation-test(no-var): Variable `testWithName` should not use var |
14 | 14 | ,-[files/index.js:2:1] |
15 | 15 | 1 | var testWithNoData = {}; |
16 | 16 | 2 | var testWithName = {}; |
17 | 17 | : ^^^^^^^^^^^^^^^^^^^^^^ |
18 | | - 3 | var testWithMultiple = {}; |
| 18 | + 3 | var testWithNameNoData = {}; |
19 | 19 | `---- |
20 | 20 |
|
21 | | - x interpolation-test(no-var): Variable testWithMultiple of type number should not use var |
| 21 | + x interpolation-test(no-var): Variable `{{name}}` should not use var |
22 | 22 | ,-[files/index.js:3:1] |
23 | 23 | 2 | var testWithName = {}; |
24 | | - 3 | var testWithMultiple = {}; |
25 | | - : ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
26 | | - 4 | var testWithMissingData = {}; |
| 24 | + 3 | var testWithNameNoData = {}; |
| 25 | + : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 26 | + 4 | var testWithMultiple = {}; |
27 | 27 | `---- |
28 | 28 |
|
29 | | - x interpolation-test(no-var): Value is example and name is {{name}} |
| 29 | + x interpolation-test(no-var): Variable `testWithMultiple` of type `string` should not use var |
30 | 30 | ,-[files/index.js:4:1] |
31 | | - 3 | var testWithMultiple = {}; |
32 | | - 4 | var testWithMissingData = {}; |
33 | | - : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
34 | | - 5 | var testWithSpaces = {}; |
| 31 | + 3 | var testWithNameNoData = {}; |
| 32 | + 4 | var testWithMultiple = {}; |
| 33 | + : ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 34 | + 5 | var testWithMultipleNoData = {}; |
35 | 35 | `---- |
36 | 36 |
|
37 | | - x interpolation-test(no-var): Value with spaces: hello and name: world |
| 37 | + x interpolation-test(no-var): Variable `{{name}}` of type `{{type}}` should not use var |
38 | 38 | ,-[files/index.js:5:1] |
39 | | - 4 | var testWithMissingData = {}; |
40 | | - 5 | var testWithSpaces = {}; |
| 39 | + 4 | var testWithMultiple = {}; |
| 40 | + 5 | var testWithMultipleNoData = {}; |
| 41 | + : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 42 | + 6 | var testWithMissingData = {}; |
| 43 | + `---- |
| 44 | +
|
| 45 | + x interpolation-test(no-var): Value is `example` and name is `{{name}}` |
| 46 | + ,-[files/index.js:6:1] |
| 47 | + 5 | var testWithMultipleNoData = {}; |
| 48 | + 6 | var testWithMissingData = {}; |
| 49 | + : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 50 | + 7 | var testWithSpaces = {}; |
| 51 | + `---- |
| 52 | +
|
| 53 | + x interpolation-test(no-var): Value with spaces is `hello` and name is `world` |
| 54 | + ,-[files/index.js:7:1] |
| 55 | + 6 | var testWithMissingData = {}; |
| 56 | + 7 | var testWithSpaces = {}; |
41 | 57 | : ^^^^^^^^^^^^^^^^^^^^^^^^ |
42 | 58 | `---- |
43 | 59 |
|
44 | | -Found 0 warnings and 5 errors. |
| 60 | +Found 0 warnings and 7 errors. |
45 | 61 | Finished in Xms on 1 file using X threads. |
46 | 62 | ``` |
47 | 63 |
|
|
0 commit comments