Commit Graph

2988 Commits

Author SHA1 Message Date
Jeroen Engels
5b6e467b24 Expose addArbitraryFiles 2024-04-10 20:12:58 +02:00
Jeroen Engels
0300ddc036 Add a function to add arbitrary files 2024-04-10 20:12:58 +02:00
Jeroen Engels
ed31db0920 Add arbitraryFiles field 2024-04-10 20:12:58 +02:00
Jeroen Engels
1a85811c58 2.13.2 2024-04-09 20:45:02 +02:00
Jeroen Engels
b125d5049c Fix module name lookup table giving a wrong result
Let destructuring variables that shadowed imports were not correctly
registered, and looking them up could lead to incorrectly point to
the imported module that was shadowed.

Thanks @matzko for discovering this.
2024-04-09 20:17:02 +02:00
Jeroen Engels
de511c2f6f Fix test around JSON decoding error message
Between Node.js v18 and v20, the error message when failing to decode JSON has been changed to be more helpful. This failed the test suite because the error message was still made for v18 environments.

Henceforth tests for this project should be run on v20+ versions of
Node.js.
2024-04-09 20:15:25 +02:00
Jeroen Engels
5573f0a666 Fix import issue in documentation 2024-02-04 18:42:22 +01:00
Jeroen Engels
60a15216a9 Backport rules from cognitive-complexity 2023-09-03 11:45:53 +02:00
Jeroen Engels
cf2a955d40 Extract function 2023-09-03 11:36:57 +02:00
Jeroen Engels
2ee409c546 Extract function 2023-09-03 11:32:55 +02:00
Jeroen Engels
f01508a61c Backport rules from unused 2023-09-03 11:31:00 +02:00
Jeroen Engels
b7842e704b Backport rules from simplify 2023-09-03 11:30:45 +02:00
Jeroen Engels
57fa48e5f2 Remove warnings in storing data in module contexts
Fixes https://github.com/jfmengels/elm-review/issues/164
as that removes an incomplete sentence.
2023-08-12 10:35:10 +02:00
Jeroen Engels
88e7f8b375 Disable SImplify for some files 2023-08-10 18:25:06 +02:00
Jeroen Engels
1db1a05c69 Apply simplifications 2023-06-26 22:06:21 +02:00
Jeroen Engels
fceaaf33e2 Enable Simplify 2023-06-25 22:44:55 +02:00
Jeroen Engels
efd3fc151a Backport rules from packages 2023-06-25 22:44:48 +02:00
Jeroen Engels
267d2038ba 2.13.1 2023-06-17 19:52:13 +02:00
Jeroen Engels
929d8508fd Fix let function arguments not registering with the correct module name 2023-06-17 19:49:41 +02:00
Jeroen Engels
84aae3b64b Make test setup failure more helpful 2023-06-17 19:49:41 +02:00
Jeroen Engels
48e9897960 Fix incorrect variable name 2023-06-01 12:57:55 +02:00
Jeroen Engels
64a749e69d
Fix broken link in CHANGELOG 2023-04-17 14:04:46 +02:00
Jeroen Engels
822e862c43 Fix typo in changelog 2023-04-16 19:11:49 +02:00
Jeroen Engels
171a54d124 2.13.0 2023-04-16 18:44:17 +02:00
Jeroen Engels
f5cf817169 Remove outdated TODOs 2023-04-15 20:32:55 +02:00
Jeroen Engels
c3fee90359 Add TODOs 2023-04-15 20:32:55 +02:00
Jeroen Engels
378fd4cbf9 Remove redundant argument to Compute.registerVariable 2023-04-15 20:32:55 +02:00
Jeroen Engels
f9da2e3def Add TODOs for v3 2023-04-14 19:04:53 +02:00
Jeroen Engels
154aeefbc7 Use the same cache for data extract and for FinalProjectEvaluation 2023-04-14 19:00:33 +02:00
Jeroen Engels
865b3e177c Move cache for final project evaluation into separate module 2023-04-14 18:56:44 +02:00
Jeroen Engels
02e73bf24c Move cache for project files into separate module 2023-04-14 18:56:34 +02:00
Jeroen Engels
02f3a3081d Move cache for modules into separate module 2023-04-14 18:56:09 +02:00
Jeroen Engels
e075e4315e Rename cache for final evaluation 2023-04-14 18:25:54 +02:00
Jeroen Engels
2b9c870a5f Rename variables 2023-04-12 23:35:44 +02:00
Jeroen Engels
8e3e2856ef Remove outdated comment 2023-04-12 23:33:31 +02:00
Jeroen Engels
45185da458 Remove unused pattern 2023-04-12 23:02:05 +02:00
Jeroen Engels
acd50d6ac0 Reuse the computed errors for when no fixes are found 2023-04-12 23:02:05 +02:00
Jeroen Engels
dd8fa23569 Remove unused parameter 2023-04-12 23:02:05 +02:00
Jeroen Engels
a119a2cd10 Mark an error as failed 2023-04-12 23:02:05 +02:00
Jeroen Engels
6ef7b82dea Update errors when fixes are evaluated is found 2023-04-12 22:59:45 +02:00
Jeroen Engels
6069bcff1d Pass a function to update the rule 2023-04-12 22:59:45 +02:00
Jeroen Engels
92fee3c779 Add operations to set errors for each cache position 2023-04-12 22:59:45 +02:00
Jeroen Engels
93242ae1c3 Rename function 2023-04-12 22:59:45 +02:00
Jeroen Engels
73b8388d84 Rename operation 2023-04-12 22:59:45 +02:00
Jeroen Engels
dc71b04ef2 Include the rule 2023-04-12 22:59:45 +02:00
Jeroen Engels
568db30848 Extract to variables 2023-04-12 22:59:45 +02:00
Jeroen Engels
fa9b358461 Add errors to FoundFix 2023-04-12 22:59:45 +02:00
Jeroen Engels
0013db9a3a Use two constructor arguments 2023-04-12 22:59:45 +02:00
Jeroen Engels
e2fb478017 Return FindFixHelpResult 2023-04-12 22:59:45 +02:00
Jeroen Engels
060d94d070 Use a case expression 2023-04-12 22:59:45 +02:00