Commit Graph

2671 Commits

Author SHA1 Message Date
Jeroen Engels
0f4ae72a83 Add findErrorsInCache 2023-04-12 22:59:45 +02:00
Jeroen Engels
6e40d4c84b Pass fixed errors 2023-04-12 22:59:45 +02:00
Jeroen Engels
e6f8fd604f Remove unused computeModuleWithRuleVisitorsAndFindFix 2023-04-12 22:59:45 +02:00
Jeroen Engels
13be5c105a Don't pass redundant exceptions 2023-04-12 22:59:45 +02:00
Jeroen Engels
bf0ef63977 Add TODO 2023-04-12 22:59:45 +02:00
Jeroen Engels
4640e180ae Check for errors even when no rules are being run 2023-04-12 22:56:02 +02:00
Jeroen Engels
70f1b1ad7a Extract computeWhatsRequiredToAnalyze 2023-04-12 22:56:02 +02:00
Jeroen Engels
369664a032 Take only the required parameters 2023-04-12 22:56:02 +02:00
Jeroen Engels
82561eba66 Avoid passing the file path 2023-04-12 22:56:02 +02:00
Jeroen Engels
4c723d3948 Split analyzing the module and finding a fixable error in it 2023-04-12 22:56:02 +02:00
Jeroen Engels
cc981322d4 Extract computation of lookup table 2023-04-12 22:56:02 +02:00
Jeroen Engels
34e0809490 Remove TODO 2023-04-12 22:56:02 +02:00
Jeroen Engels
240361565f Inline ignoreModule 2023-04-12 22:56:02 +02:00
Jeroen Engels
aabdaf68d3 Remove helper function 2023-04-12 22:56:02 +02:00
Jeroen Engels
faae8be580 Remove helper function 2023-04-12 22:56:02 +02:00
Jeroen Engels
0be7e92914 Remove helper function 2023-04-12 22:56:02 +02:00
Jeroen Engels
d4acf91a46 Add comment 2023-04-12 22:56:02 +02:00
Jeroen Engels
ae233a0969 Attempt marking error as failing as side-effect 2023-04-12 22:55:11 +02:00
Jeroen Engels
3117c6b04f Add markFixesAsProblem 2023-04-12 22:55:11 +02:00
Jeroen Engels
389bfbfcde Make applying fixes return a Result 2023-04-12 22:55:11 +02:00
Jeroen Engels
f01dc718a4 Move definition of FixProblem 2023-04-12 22:55:11 +02:00
Jeroen Engels
9902fcad00 Add Review.Rule.errorFixFailure 2023-04-12 22:55:11 +02:00
Jeroen Engels
ed59b64dae Turn fixes into ErrorFixes 2023-04-11 00:13:48 +02:00
Jeroen Engels
9f0d97aaca Add ErrorFixes type 2023-04-10 23:53:58 +02:00
Jeroen Engels
5a536d906b Change order of arguments 2023-04-10 16:46:38 +02:00
Jeroen Engels
f2c96c3369 Abort early when noticing a fixable error in elm.json 2023-04-10 16:45:26 +02:00
Jeroen Engels
f68055dc59 Split into helper function 2023-04-10 16:43:21 +02:00
Jeroen Engels
b7695db578 Remove unused Output type 2023-04-10 16:41:44 +02:00
Jeroen Engels
db5be5a947 Change order of arguments 2023-04-10 16:41:32 +02:00
Jeroen Engels
60d1763a48 Change order of arguments 2023-04-10 16:41:20 +02:00
Jeroen Engels
8ed7a1854d Compute dependencies data only once 2023-04-10 16:23:23 +02:00
Jeroen Engels
ca09ba23fb Abort early when noticing a fixable error in dependencies 2023-04-10 16:16:56 +02:00
Jeroen Engels
2830d16cb5 Simplify computeFinalProjectEvaluation 2023-04-10 16:03:52 +02:00
Jeroen Engels
20b69a5a7e Create helper to find fixes 2023-04-10 16:02:59 +02:00
Jeroen Engels
c0f05f1f42 Merge computeReadmeHelp functions 2023-04-10 15:50:54 +02:00
Jeroen Engels
43b3cfc8f4 Don't return errors 2023-04-10 15:50:14 +02:00
Jeroen Engels
571be5b125 Don't use Output anymore 2023-04-10 15:49:38 +02:00
Jeroen Engels
f258d63847 Formatting 2023-04-10 15:48:50 +02:00
Jeroen Engels
76b6514a39 Stop looking for fixes in computeReadmeHelp 2023-04-10 15:47:10 +02:00
Jeroen Engels
83f1726b1a Compute only the next step and new fixed errors 2023-04-10 15:46:32 +02:00
Jeroen Engels
82a09afa52 Compute fixed errors inside computeReadmeHelp2 2023-04-10 15:41:52 +02:00
Jeroen Engels
597a892f79 Rename 2023-04-10 15:32:59 +02:00
Jeroen Engels
31f36d41c0 Move type 2023-04-10 15:28:26 +02:00
Jeroen Engels
5ff9c8bf4e Add variant for when we find fixes 2023-04-10 15:27:37 +02:00
Jeroen Engels
1b97e4102d Move code inside the case 2023-04-10 15:25:17 +02:00
Jeroen Engels
563dbb525e Pass more arguments 2023-04-10 15:11:30 +02:00
Jeroen Engels
04b6c0503f Change argument order 2023-04-10 15:09:57 +02:00
Jeroen Engels
08d4092113 Extract to top-level 2023-04-10 15:09:06 +02:00
Jeroen Engels
7d305964b8 Return custom type 2023-04-10 15:07:27 +02:00
Jeroen Engels
9693381468 Add type annotation 2023-04-10 15:05:55 +02:00