Commit Graph

571 Commits

Author SHA1 Message Date
Jeroen Engels
68eda525b5 Handle imports from other modules 2020-03-15 14:12:22 +01:00
Jeroen Engels
abcd73f0e4 Mark custom types... 2020-03-14 21:13:23 +01:00
Jeroen Engels
9b2bdb61c6 Update elm and elm-test version 2020-03-13 15:42:19 +01:00
Jeroen Engels
36b71557da WIP Mark custom type constructors from other modules as used. 2020-03-12 19:19:06 +01:00
Jeroen Engels
06f46e4690 NoUnused.CustomTypeConstructors: Use Scope 2020-03-12 18:00:20 +01:00
Jeroen Engels
ad2f929d7e Report custom type constructors that are exposed 2020-03-12 17:46:51 +01:00
Jeroen Engels
36a3478828 NoUnused.CustomTypeConstructors: Report unused exposed type constructors 2020-03-12 17:23:00 +01:00
Jeroen Engels
4117baf838 Rename NoUnused.CustomTypeConstructors temporarily 2020-03-12 17:05:36 +01:00
Jeroen Engels
ce1c059d4c NoUnused.CustomTypeConstructors: Transform into a project rule 2020-03-12 16:59:14 +01:00
Jeroen Engels
b2fd92f529 NoUnused.CustomTypeConstructors: Prepare looking at other modules 2020-03-12 16:50:03 +01:00
Jeroen Engels
ce4febc1ac Support phantom types in NoUnused.CustomTypeConstructors 2020-03-11 17:51:09 +01:00
Jeroen Engels
c67aa1321c WIP: Don't report custom type constructors used as phantom types 2020-03-09 22:42:16 +01:00
Jeroen Engels
e438da283d Copy over NoUnused.CustomTypeConstructors temporarily 2020-03-09 21:21:38 +01:00
Jeroen Engels
050f5e4958 Improve documentation for Review.Project.dependencies 2020-03-09 20:08:35 +01:00
Jeroen Engels
416357b236 Document the Review.Project.Dependency module 2020-03-08 20:07:37 +01:00
Jeroen Engels
c141fdb1ae Rename module rule's phantom fields to canCollectProjectData 2020-03-08 00:54:18 +01:00
Jeroen Engels
0d33ab05e7 Improve the error message when Review.Test.runOnModules is given an empty list 2020-03-07 20:11:07 +01:00
Jeroen Engels
801fae798a Remove version from dependency data 2020-03-07 19:57:16 +01:00
Jeroen Engels
37981b65db Make Dependencies opaque 2020-03-07 18:38:39 +01:00
Jeroen Engels
c880709048 Move Project.Dependency to its own module 2020-03-07 18:38:39 +01:00
Jeroen Engels
0a811c5b43 Ignore fixes for the elm.json file 2020-03-07 18:38:39 +01:00
Jeroen Engels
bfade4d4c2 Correct documentation of errorFixes 2020-03-07 18:38:39 +01:00
Jeroen Engels
e6e37c6071 Show only the errors for files that failed to parse if there are any 2020-03-07 18:38:39 +01:00
Jeroen Engels
f928b5e986 Change ReviewConfig to allow Debug.todo in tests 2020-03-07 18:38:39 +01:00
Jeroen Engels
ec326af739 Write NoDebugTodoOrToString rule 2020-03-07 16:09:35 +01:00
Jeroen Engels
8f1ec1dd3a Write NoDebugLog rule 2020-03-07 16:09:35 +01:00
Jeroen Engels
acb4e8db9e Vendorize elm-community/graph 2020-03-06 18:39:35 +01:00
Jeroen Engels
5add390f4f Move ListExtra into Vendor/ 2020-03-06 18:25:40 +01:00
Jeroen Engels
13bed263d0 Rename withProjectDependenciesVisitor to withDependenciesProjectVisitor 2020-03-02 22:54:22 +01:00
Jeroen Engels
5cfd68fb6b Rename withModuleDependenciesVisitor to withDependenciesModuleVisitor 2020-03-02 22:53:37 +01:00
Jeroen Engels
c09c46e4eb Rename withProjectElmJsonVisitor to withElmJsonProjectVisitor 2020-03-02 22:52:31 +01:00
Jeroen Engels
8406c29fd3 Rename withModuleElmJsonVisitor to withElmJsonModuleVisitor 2020-03-02 22:51:25 +01:00
Jeroen Engels
a7b6f6e103 continue document 2020-02-28 17:54:23 +01:00
Jeroen Engels
0b0b6d1b85 Use "List nothing" instead of "List Error" where possible 2020-02-28 17:11:15 +01:00
Jeroen Engels
d7f645241d Continue documentation for project rules 2020-02-27 19:19:33 +01:00
Jeroen Engels
a378c7434e Add rule examples for the ignoreErrors functions 2020-02-26 18:15:59 +01:00
Jeroen Engels
bbd8abf424 Use qualified imports in rule examples 2020-02-26 18:06:57 +01:00
Jeroen Engels
7046137121 Document module and project rules 2020-02-25 19:47:06 +01:00
Jeroen Engels
9209e26bcd Add functions that allow exceptions for rules 2020-02-25 16:48:20 +01:00
Jeroen Engels
53d4128052 Fix typo in the severity levels document 2020-02-25 16:48:06 +01:00
Jeroen Engels
fbcc11d6a9 Simplify Scope by not having a setter and getter 2020-02-16 23:29:11 +01:00
Jeroen Engels
48d4a769ac Checks things in the multi-file document 2020-02-16 21:58:49 +01:00
Jeroen Engels
c2c53fdbe6 Rename Rule.FileKey to Rule.ModuleKey 2020-02-16 21:54:05 +01:00
Jeroen Engels
382a6c8604 Add NoInvalidLicense 2020-02-16 21:40:59 +01:00
Jeroen Engels
c652a24d48 Store more information about the project's dependencies 2020-02-16 21:40:59 +01:00
Jeroen Engels
a91d66ea60 Add Review.Test.expectErrorsForElmJson 2020-02-16 16:56:33 +01:00
Jeroen Engels
82aa701676 Improve Review.Test documentation 2020-02-16 16:56:33 +01:00
Jeroen Engels
0f39773e75 Change how dependencies are stored, and add NoUnused.Dependencies rule 2020-02-16 16:56:33 +01:00
Jeroen Engels
8cb2453bfc Remove moduleToDependency from Project 2020-02-16 16:56:19 +01:00
Jeroen Engels
2016640367 Improve how tests fail when a global error occurs in the test source code 2020-02-16 16:56:19 +01:00