Commit Graph

2618 Commits

Author SHA1 Message Date
Jeroen Engels
46a10297bf Stop returning zipper 2023-04-02 21:55:44 +02:00
Jeroen Engels
a751d23df6 Move the final cache marker to when we compute the errors 2023-04-02 21:55:44 +02:00
Jeroen Engels
2f40062591 Pass cache again once we're done with the analysis
Otherwise we start the analysis from scratch again afterwards
2023-04-02 21:55:44 +02:00
Jeroen Engels
1924749297 Rename functions 2023-04-02 21:55:44 +02:00
Jeroen Engels
7db1aa1d93 Destructure later in createFinalModuleEvaluationVisitor 2023-04-02 21:55:44 +02:00
Jeroen Engels
33b0359aa5 Move computation of errors 2023-04-02 21:55:44 +02:00
Jeroen Engels
a25f56e63c Split condition into nested ifs 2023-04-02 21:55:44 +02:00
Jeroen Engels
d78b4a7882 Update TODO 2023-04-02 21:55:44 +02:00
Jeroen Engels
06224871d2 Inline setFilePathIfUnset 2023-04-02 21:55:44 +02:00
Jeroen Engels
41ecee0ac9 Move wrapping in Just 2023-04-02 21:55:44 +02:00
Jeroen Engels
5885e4c59b Remove wrapping in Just 2023-04-02 21:55:44 +02:00
Jeroen Engels
a895f9af80 Make function more generic 2023-04-02 21:55:43 +02:00
Jeroen Engels
eb62fa6fc5 Re-use module documentation from AvailableData 2023-04-02 21:55:43 +02:00
Jeroen Engels
46c42ca738 Precompute the module documentation 2023-04-02 21:55:43 +02:00
Jeroen Engels
e23ec31501 Remove completed TODO 2023-04-02 21:55:43 +02:00
Jeroen Engels
3371e0efe6 Add TODO 2023-04-02 21:55:43 +02:00
Jeroen Engels
0ef5e0adcc Remove comment 2023-04-02 21:55:43 +02:00
Jeroen Engels
6187cfe6f6 Compute requested data only on the rules that will be run 2023-04-02 21:55:43 +02:00
Jeroen Engels
ed4751df71 Move let declaration closer to where it's used 2023-04-02 21:55:43 +02:00
Jeroen Engels
9d7783f9e7 Move let declaration closer to where it's used 2023-04-02 21:55:43 +02:00
Jeroen Engels
aab719af66 Move let declaration closer to where it's used 2023-04-02 21:55:43 +02:00
Jeroen Engels
d3275d6fb1 Move let declaration closer to where it's used 2023-04-02 21:55:43 +02:00
Jeroen Engels
02fc0e7795 Move let declaration closer to where it's used 2023-04-02 21:55:43 +02:00
Jeroen Engels
c204f39afe Enable NoPrematureLetComputation rule 2023-04-02 21:55:43 +02:00
Jeroen Engels
e8efa0c65a Pass availableData only when starting the analysis 2023-04-02 21:55:43 +02:00
Jeroen Engels
973ed83269 Move AvailableData to inside the Maybe 2023-04-02 21:55:43 +02:00
Jeroen Engels
a130220511 Move availableData argument 2023-04-02 21:55:43 +02:00
Jeroen Engels
0b7d3516d9 Use the filePath from the direct argument 2023-04-02 21:55:43 +02:00
Jeroen Engels
39c5836c22 Pass filePath 2023-04-02 21:55:43 +02:00
Jeroen Engels
142e8815e6 Extract variable 2023-04-02 21:55:43 +02:00
Jeroen Engels
c7e23b4856 Remove TODO 2023-04-02 21:55:43 +02:00
Jeroen Engels
1dd163c1f9 Suppress false positive until I'll fix it 2023-04-02 21:55:43 +02:00
Jeroen Engels
254d5f63e1 Add TODO 2023-04-02 21:55:43 +02:00
Jeroen Engels
a42a697c7c Add TODO 2023-04-02 21:55:43 +02:00
Jeroen Engels
27a0482283 Skip evaluating module when no rules will be run 2023-04-02 21:55:43 +02:00
Jeroen Engels
f0cfa091c5 Duplicate code in if branches 2023-04-02 21:55:43 +02:00
Jeroen Engels
97ef847ad6 Implement ruleProjectVisitor 2023-04-02 21:55:43 +02:00
Jeroen Engels
c1cf654999 Rename 2023-04-02 21:55:43 +02:00
Jeroen Engels
6990bdd79f Remove unused code 2023-04-02 21:55:43 +02:00
Jeroen Engels
4a53a33522 Rename 2023-04-02 21:55:43 +02:00
Jeroen Engels
a52531d2eb Rename 2023-04-02 21:55:43 +02:00
Jeroen Engels
d4870dc08b Rename 2023-04-02 21:55:43 +02:00
Jeroen Engels
57075f9ba1 Remove unused functions 2023-04-02 21:55:43 +02:00
Jeroen Engels
f0c0450463 Remove unused parameter 2023-04-02 21:55:43 +02:00
Jeroen Engels
4fddd7f275 Remove unused parameter 2023-04-02 21:55:43 +02:00
Jeroen Engels
1ef35d6cdf Remove unused variable 2023-04-02 21:55:43 +02:00
Jeroen Engels
1af36acdaf Remove unused field 2023-04-02 21:55:43 +02:00
Jeroen Engels
d68a6d9c85 Remove unused function 2023-04-02 21:55:43 +02:00
Jeroen Engels
4398630e47 Remove unused function 2023-04-02 21:55:43 +02:00
Jeroen Engels
4196c2c48b Remove unused function 2023-04-02 21:55:43 +02:00