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 |
|
Jeroen Engels
|
7b786d9a2d
|
Add error message when the number of lists of errors is unexpected
|
2020-01-04 12:40:11 +01:00 |
|
Jeroen Engels
|
c1616c82bb
|
Remove deprecated comment
|
2020-01-03 17:13:18 +01:00 |
|
Jeroen Engels
|
8fa9ab49a1
|
Add functions to be able to test multi rules
|
2020-01-03 17:12:43 +01:00 |
|
Jeroen Engels
|
93d4e0817d
|
Prepare tests to allow for multiple file tests
|
2020-01-03 16:24:30 +01:00 |
|
Jeroen Engels
|
96c765b077
|
Change API of Rule.newMultiSchema
|
2020-01-02 17:24:56 +01:00 |
|
Jeroen Engels
|
309adee43e
|
Add builder function to add a final evaluation for multi rules
|
2020-01-01 23:38:43 +01:00 |
|
Jeroen Engels
|
751aeb067c
|
Add builder function to add a dependencies visitor for multi rules
|
2020-01-01 23:18:11 +01:00 |
|
Jeroen Engels
|
3fec3aa1d2
|
Add builder function to add an elm.json visitor for multi rules
|
2020-01-01 23:11:41 +01:00 |
|
Jeroen Engels
|
a63e7afb83
|
Fix bug where the initial context with elm.json visit was not used
|
2020-01-01 22:55:14 +01:00 |
|
Jeroen Engels
|
1d1e2d7f27
|
Rename toGlobalContext to fromModuleToGlobal
|
2020-01-01 20:37:22 +01:00 |
|
Jeroen Engels
|
9cc72c659f
|
Make NoUnused.Modules not report test modules or modules with a main function
|
2020-01-01 20:35:31 +01:00 |
|
Jeroen Engels
|
4ff2c2db00
|
Simplify NoUnusedModules
|
2020-01-01 20:18:04 +01:00 |
|
Jeroen Engels
|
21ce7c4e52
|
Separate module context and global context in Multi rules
|
2020-01-01 19:56:31 +01:00 |
|
Jeroen Engels
|
4a0d78eadf
|
Write documentation for NoUnusedModules
|
2020-01-01 13:52:13 +01:00 |
|
Jeroen Engels
|
6c7d2580cd
|
Set the correct VariableType for ports
|
2019-12-07 15:29:20 +01:00 |
|
Jeroen Engels
|
a753cc7a2d
|
Bump elm-test
|
2019-12-07 14:36:30 +01:00 |
|
Jeroen Engels
|
3d7d1154e0
|
Fix incorrect variable type for let..in variables
|
2019-12-01 14:35:51 +01:00 |
|
Jeroen Engels
|
fe7b3da438
|
Make scope understand case..of expressions
|
2019-11-27 22:30:01 +01:00 |
|
Jeroen Engels
|
91fdc0f906
|
Remove unused imports in Scope
|
2019-11-27 21:35:25 +01:00 |
|