Jeroen Engels
c1bdcf435f
v2.3.3
2020-09-23 10:39:57 +02:00
Jeroen Engels
66f5375eaa
ModuleNameLookupTableTest: Add tests for function declarations handling
2020-09-23 10:38:39 +02:00
Jeroen Engels
82037d4e5b
ModuleNameLookupTableTest: Add signature texts
2020-09-23 10:30:47 +02:00
Jeroen Engels
efebce84d1
ModuleNameLookupTableTest: Refactor declaration visitor
2020-09-23 10:27:39 +02:00
Jeroen Engels
ccfcc99468
ModuleNameLookupTableTest: Add declaration visitor
2020-09-23 10:25:40 +02:00
Jeroen Engels
97c0e4abe9
Add test for handling pattern aliases
2020-09-23 10:21:35 +02:00
Jeroen Engels
5ebf38e283
Fix module name lookup table for pattern matching in case expressions
...
We were using moduleNameForType internally instead of moduleNameForValue,
which only worke when the name of the custom type is the same as the
name of the custom type constructor.
2020-09-23 10:14:06 +02:00
Jeroen Engels
c2488a06b0
Add failing test case for ModuleNameLookupTableTest
2020-09-23 10:12:19 +02:00
Jeroen Engels
b1b96c6dcf
Backport rules from other projects
2020-09-23 08:11:51 +02:00
Jeroen Engels
bb14366da9
Update backport rule script
2020-09-22 19:40:13 +02:00
Jeroen Engels
80e4d87436
Use helper in declaration visitor
2020-09-22 19:08:17 +02:00
Jeroen Engels
75e535ce2a
Use helper in expression visitor
2020-09-22 19:06:45 +02:00
Jeroen Engels
4ad35edde3
Add helper for showing the real name
2020-09-22 19:03:43 +02:00
Jeroen Engels
01e2f66fc7
Rename test module
2020-09-22 19:01:02 +02:00
Jeroen Engels
2208b410a0
Change test suite title
2020-09-22 19:00:15 +02:00
Jeroen Engels
e4acd4de29
Move code from ModuleNameForValueTest into ModuleNameForTypeTest
2020-09-22 18:59:34 +02:00
Jeroen Engels
bb0955c07b
ModuleNameType: Creator rule dynamicaly
2020-09-22 18:56:30 +02:00
Jeroen Engels
6835173228
Bump elm-test
2020-09-22 18:51:36 +02:00
Jeroen Engels
81b68c4695
v2.3.2
2020-09-09 18:59:19 +02:00
Jeroen Engels
e925d0a25a
Fix files not being evaluated when they're ignored in project rules without a folder
2020-09-09 18:50:42 +02:00
Jeroen Engels
02625de8d3
Fix error in withModuleContextUsingContextCreator documentation
2020-09-09 18:47:04 +02:00
Jeroen Engels
cf4bc46d1b
2.3.1
2020-09-08 10:08:10 +02:00
Jeroen Engels
744b700d50
Bump to elm-review v2.3.0
2020-09-08 10:07:11 +02:00
Jeroen Engels
3087e757a8
Fix module name lookup table not knowing about patterns inside let functions destructuring
2020-09-08 10:06:28 +02:00
Jeroen Engels
5badf38eb3
Bump elm-review version in local review configuration
2020-09-08 08:45:30 +02:00
Jeroen Engels
6fd6cac207
v2.3.0
2020-09-08 08:16:29 +02:00
Jeroen Engels
a59c208ecb
Remove reference to Scope
2020-09-06 19:13:18 +02:00
Jeroen Engels
79decbc14c
Expose and document ProjectData
2020-08-30 10:04:19 +02:00
Jeroen Engels
586bc20b47
Rename new review function
2020-08-30 09:47:56 +02:00
Jeroen Engels
9ecef7b8c3
Simplify runReview
2020-08-30 09:11:28 +02:00
Jeroen Engels
5fd2e0847f
Fix wording in documentation
2020-08-29 09:56:56 +02:00
Jeroen Engels
57872b57a7
Avoid running Scope when no rules requires the module name lookup table
2020-08-28 10:33:19 +02:00
Jeroen Engels
4a23a67444
Make requested data of a rule accessible
2020-08-27 18:29:34 +02:00
Jeroen Engels
54291a9cf0
Refactor review function
2020-08-27 18:12:51 +02:00
Jeroen Engels
0857393e35
Remove unnecessary TODOs
2020-08-27 18:12:51 +02:00
Jeroen Engels
f6f5326f3d
Expose ModuleNameLookupTable
2020-08-27 08:21:53 +02:00
Jeroen Engels
0ff71b2c84
Remove unused code
2020-08-26 19:01:47 +02:00
Jeroen Engels
7e4d767923
Document new functions
2020-08-26 19:01:47 +02:00
Jeroen Engels
9d500b25f2
Re-use cache for scope rule
2020-08-26 16:59:30 +02:00
Jeroen Engels
21fa8c9520
Change runProjectVisitor output into a record
2020-08-26 16:51:11 +02:00
Jeroen Engels
58ad1b1a0c
Add data collection that we keep at every run
2020-08-26 16:27:32 +02:00
Jeroen Engels
ca373f5a56
Add elm/json to the test dependencies
2020-08-26 16:27:08 +02:00
Jeroen Engels
7c0d7e6fad
Support record update functions for module name lookup table
2020-08-25 15:28:56 +02:00
Jeroen Engels
7455bca8a8
Use lookup table in ScopeExample
2020-08-22 10:23:25 +02:00
Jeroen Engels
9c40b95394
Add ScopeExample
2020-08-22 10:21:53 +02:00
Jeroen Engels
219bb11ff6
Use lookup table in ModuleNameForValueTest
2020-08-22 10:02:31 +02:00
Jeroen Engels
e550dce72d
Use lookup table in ModuleNameForTypeTest
2020-08-22 09:54:20 +02:00
Jeroen Engels
31eef5486b
Use lookup table in NoUnused.CustomTypeConstructors
2020-08-22 09:43:30 +02:00
Jeroen Engels
0a2eb1deea
Lookup table: Look for types
2020-08-22 08:50:42 +02:00
Jeroen Engels
808baa1a22
Use lookup table in NoUnused.Exports
2020-08-22 08:50:39 +02:00