Commit Graph

1391 Commits

Author SHA1 Message Date
Jeroen Engels
46693801d5 Inline functionToExpression 2021-10-27 23:09:12 +02:00
Jeroen Engels
dc13bd4a08 Don't use accumulateList 2021-10-27 23:09:12 +02:00
Jeroen Engels
3f7c937c46 Inline expressionsInDeclaration 2021-10-27 23:09:12 +02:00
Jeroen Engels
c0fd9bfa20 Don't call expression visitor if there are no expressions 2021-10-27 23:09:12 +02:00
Jeroen Engels
a90152ad14 Restore usage of accumulateList 2021-10-27 23:09:12 +02:00
Jeroen Engels
65146e9850 Remove handling of unnecessary patterns 2021-10-27 23:09:12 +02:00
Jeroen Engels
77390095c4 Add expressionVisitor 2021-10-27 23:09:12 +02:00
Jeroen Engels
6f206f8392 Extract variable 2021-10-27 23:09:12 +02:00
Jeroen Engels
bc22c438e8 Remove unused field from RunnableVisitor 2021-10-27 23:09:12 +02:00
Jeroen Engels
64586a901b Re-use visitExpressions 2021-10-27 23:09:12 +02:00
Jeroen Engels
9ee932c830 Add visit expressions 2021-10-27 23:09:12 +02:00
Jeroen Engels
53af68a551 Remove unused function 2021-10-27 23:09:12 +02:00
Jeroen Engels
0fb0a5a368 Use visitor inside the run 2021-10-27 23:09:12 +02:00
Jeroen Engels
9c8b4fabd8 Reverse 2021-10-27 23:09:12 +02:00
Jeroen Engels
bc828a333a Rename 2021-10-27 23:09:12 +02:00
Jeroen Engels
1f49a7e2fd Add declarationAndExpressionVisitor 2021-10-27 23:09:12 +02:00
Jeroen Engels
1c0b742df2 Compute accumulator 2021-10-27 23:09:12 +02:00
Jeroen Engels
c1ef4baee3 Introduce variable 2021-10-27 23:09:12 +02:00
Jeroen Engels
c8eda20c20 Introduce type alias for ModuleRuleSchemaData 2021-10-27 23:09:12 +02:00
Jeroen Engels
92aa1c0822 Don't visit declarations and expression if there are no visitors for them 2021-10-27 23:09:12 +02:00
Jeroen Engels
b71984aebb Backport rules from elm-review-unused 2021-10-24 00:38:58 +02:00
Jeroen Engels
076b299a82 2.6.0 2021-10-23 19:45:46 +02:00
Jeroen Engels
aba58c7763 Add new visitors for let declarations and case branches 2021-10-23 19:44:53 +02:00
Jeroen Engels
0285ed2447 Use List.append 2021-10-23 19:37:39 +02:00
Jeroen Engels
d521d56dd7 Use pattern match over Maybe 2021-10-23 18:20:44 +02:00
Jeroen Engels
20411ff911 Use pattern match over result pipeline 2021-10-23 18:18:20 +02:00
Jeroen Engels
7b9c31da06 Use pattern match over result pipeline 2021-10-23 18:15:47 +02:00
Jeroen Engels
5b7acc8c1b Use pattern match over result pipeline 2021-10-23 18:14:13 +02:00
Jeroen Engels
6361573553 Ignore places where I don't think TCO can be applied 2021-10-17 17:59:26 +02:00
Jeroen Engels
6f2bbfcd1c Use List.append instead of List.concat 2021-10-17 17:59:26 +02:00
Jeroen Engels
6301df3fa8 Remove Maybe.map when it's unnecessary 2021-10-17 17:59:26 +02:00
Jeroen Engels
2b386ca80b Re-implement collectNamesFromPattern in a TCO way 2021-10-17 17:59:26 +02:00
Jeroen Engels
ba0013793d Re-implement collectModuleNamesFromPattern in a TCO way 2021-10-17 17:59:26 +02:00
Jeroen Engels
dd46b0bec2 Re-implement collectModuleNamesFromTypeAnnotation in a TCO way 2021-10-17 17:59:26 +02:00
Jeroen Engels
819b373522 Extract functions to a helper module 2021-10-17 17:59:26 +02:00
Jeroen Engels
28a3973272 Backport rules from elm-review-common 2021-10-17 10:00:47 +02:00
lue
4e6861be01
Correct withDependenciesModuleVisitor doc (#107) 2021-10-10 13:18:01 +02:00
Jeroen Engels
cda93d62b9 2.5.3 2021-10-03 11:17:54 +02:00
Jeroen Engels
13700fb8a1 Bump dependencies 2021-10-03 11:16:27 +02:00
Jeroen Engels
38458feb82 Add elm-bump script 2021-10-03 11:15:13 +02:00
Jeroen Engels
1e5d48b0b5 Make test script Windows-friendly 2021-10-03 11:13:48 +02:00
Jeroen Engels
93d401d0a4 Update docs for moduleNameAt 2021-10-03 11:08:31 +02:00
SiriusStarr
2a8dbaf2a1
Add ModuleNameLookupTable support for operators (#106) 2021-10-03 11:03:00 +02:00
Jeroen Engels
8c8e708403 Enable additional elm-review-documentation rule 2021-10-02 10:32:50 +02:00
Jeroen Engels
34798e3f49 Backport elm-review-documentation 2021-10-02 10:32:41 +02:00
Jeroen Engels
fd2eda59d4 Fix links 2021-10-02 10:04:33 +02:00
Jeroen Engels
5cfae6409b Fix example for Project.create 2021-09-22 22:24:58 +02:00
Jeroen Engels
03766d59a2 2.5.2 2021-09-20 23:45:00 +02:00
Jeroen Engels
21bcb6df30 Don't pipe into a function 2021-09-20 23:43:28 +02:00
Jeroen Engels
f8958c1a8e Rename variable 2021-09-20 23:43:28 +02:00