-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit 447d7cd
Provide natively loaded data as package index project data
Arduino CLI's package index loading function can can be useful in its current capacity as a general check on the validity
of the package index as far as Arduino CLI is concerned, used for that purpose by a single dedicated rule.
However, it can not be used as a data source for other rules because Arduino CLI should attempt to be resilient to bad
data when possible, while Arduino Lint needs to detect the very bad data that Arduino CLI might correct.
So the data from the native loading code must be used in all rules, while the value from Arduino CLI's load is solely in
whether or not it returned an error.1 parent 0c3b358 commit 447d7cd
File tree
3 files changed
+26
-15
lines changed- internal
- project/projectdata
- rule/rulefunction
3 files changed
+26
-15
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | - | ||
19 | + | ||
20 | + | ||
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
25 | + | ||
24 | 26 |
| |
25 | - | ||
27 | + | ||
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
29 | - | ||
31 | + | ||
30 | 32 |
| |
31 | - | ||
32 | - | ||
33 | + | ||
34 | + | ||
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
38 | - | ||
40 | + | ||
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | - | ||
40 | - | ||
41 | - | ||
42 | - | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
43 | 44 |
| |
44 | - | ||
45 | - | ||
46 | - | ||
45 | + | ||
46 | + | ||
47 | + | ||
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| |||
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
60 | + | ||
59 | 61 |
| |
60 | 62 |
| |
61 | 63 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 | - | ||
81 | - | ||
80 | + | ||
81 | + | ||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
|
0 commit comments