Jeroen Engels
|
75f2fb4f74
|
Add regression test for withInitialContext
|
2020-01-19 12:04:17 +01:00 |
|
Jeroen Engels
|
a8b5164f5b
|
Recompute all files if the initial changes
Because elm.json or dependencies changed
|
2020-01-17 15:34:52 +01:00 |
|
Jeroen Engels
|
5df913a061
|
Recompute a file if the context of one of its imports has changed
|
2020-01-17 15:14:14 +01:00 |
|
Jeroen Engels
|
e43dc7ba5e
|
Remove lingering comment
|
2020-01-17 09:19:56 +01:00 |
|
Jeroen Engels
|
46ac773351
|
Add Review.Project.removeDependencies
|
2020-01-16 17:34:19 +01:00 |
|
Jeroen Engels
|
d54fcfd0c1
|
Add Review.Project.removeModule
|
2020-01-16 17:13:57 +01:00 |
|
Jeroen Engels
|
8b8c985426
|
Recompute module graph if a file changes and the graph was already computed
|
2020-01-16 09:42:31 +01:00 |
|
Jeroen Engels
|
0c06a06040
|
Remove Review/File.elm
|
2020-01-15 21:07:49 +01:00 |
|
Jeroen Engels
|
8490d093e0
|
Remove unused ReviewResult type
|
2020-01-15 20:59:30 +01:00 |
|
Jeroen Engels
|
76b74aa043
|
Allow Project to accept already parsed files
|
2020-01-15 20:56:09 +01:00 |
|
Jeroen Engels
|
06b79f7b92
|
Simplify a fold
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
a2a5831e0b
|
Explain in which module we are getting an unexpected test result
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
c4fbda59c4
|
Make graph creation a bit more performant
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
d7d49501e1
|
Replace "Never" phantom types by record types
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
6e5d8193ac
|
Remove unused custom type constructors
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
048ade02af
|
Add NoUnusedExports to the review config
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
eee29d7963
|
NoUnusedExports: Do not report tests or ReviewConfig.config
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
691a22e5a7
|
NoUnusedExports: Mark types used in type alias and custom type arguments as used
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
4b2ce76584
|
Update the demo to work with recent API changes
|
2020-01-15 16:35:03 +01:00 |
|
Jeroen Engels
|
b654daa301
|
Remove unused code and dependencies
|
2020-01-15 09:54:26 +01:00 |
|
Jeroen Engels
|
acd63f22dd
|
NoUnusedExports: Report unused types
|
2020-01-14 12:50:07 +01:00 |
|
Jeroen Engels
|
511db00e29
|
NoUnusedExports: Do not report elements that are not defined
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
251bca2c12
|
Use Scope in NoUnusedExports to know about the exports from other modules
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
c21fbff07e
|
NoUnusedExports: Don't report used functions or values
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
56e766ad62
|
Register type constructors from visited modules in Scope
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
061a950679
|
Register types from visited modules in Scope
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
6ca138db11
|
Register exposes values only if they are exposed
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
1141098f32
|
Fix running rule once for every test file in Review.Test
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
9d34ed4746
|
Add TODO for Review.Test about failing for unknown modules
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
0362f5b3e3
|
Register values from visited modules in Scope
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
25601e6b24
|
Rework Scope to work for multi file rules
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
009613ec61
|
Rename fold to foldGlobalContexts
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
4ae4895ba2
|
Rename initModuleContext to fromGlobalToModule
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
13d845db25
|
Copy Scope
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
21323cbdc3
|
Simplify Scope.elm
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
dbf56e1e65
|
Add NoUnusedExports rule
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
068fd7eb9e
|
Call the finalEvaluationFns in multi rules
|
2020-01-14 09:50:13 +01:00 |
|
Jeroen Engels
|
443a571ac7
|
Add support for traversing modules by visiting imported modules first
|
2020-01-11 00:36:56 +01:00 |
|
Jeroen Engels
|
4a730f7240
|
Have Review.Rule use the modules contained in the project
|
2020-01-10 21:55:22 +01:00 |
|
Jeroen Engels
|
f20f46028c
|
Have Review.Test use the modules contained in the project
|
2020-01-10 15:08:37 +01:00 |
|
Jeroen Engels
|
ca0d3bc4e6
|
Have Review.Project contain the modules of the project
|
2020-01-09 22:21:01 +01:00 |
|
Jeroen Engels
|
d8df52aa52
|
Add topological traversal: Create graph of files
|
2020-01-06 23:22:59 +01:00 |
|
Jeroen Engels
|
1219faf512
|
Add documentation for the Review.Test functions that test several files
|
2020-01-05 20:19:35 +01:00 |
|
Jeroen Engels
|
c2ea2f8136
|
Rename runMulti* to runOnModules*
|
2020-01-05 19:35:41 +01:00 |
|
Jeroen Engels
|
3bd94e4127
|
Replace expectErrorsForFiles by expectErrorsForModules
|
2020-01-05 18:44:16 +01:00 |
|
Jeroen Engels
|
c388770501
|
Have the tests explain which source code failed to parse when there are multiple
|
2020-01-05 11:04:20 +01:00 |
|
Jeroen Engels
|
a674ee4763
|
Do not consider a package module used when it contains a main function
|
2020-01-04 18:34:12 +01:00 |
|
Jeroen Engels
|
c3759a182d
|
Add missing tests for NoUnusedModules
|
2020-01-04 15:12:00 +01:00 |
|
Jeroen Engels
|
ca829a86d8
|
Document that ReviewConfig always counts as a used module.
|
2020-01-04 14:21:33 +01:00 |
|
Jeroen Engels
|
6b371bf569
|
Fail tests when there are duplicate module names
|
2020-01-04 14:21:28 +01:00 |
|