Commit Graph

675 Commits

Author SHA1 Message Date
Jeroen Engels
7716c9d2c9 Remove Rule.withFixes function 2020-04-04 12:58:26 +02:00
Jeroen Engels
56ee8356b8 Add new functions to create errors with a fix 2020-04-04 12:44:43 +02:00
Jeroen Engels
fdca981cc5 Add Documentation rules like they are in jfmengels/review-documentation 2020-04-04 12:35:29 +02:00
Jeroen Engels
37732cad9f Add Documentation.ReadmeLinksPointToCurrentVersion to the review config 2020-04-04 12:35:29 +02:00
Jeroen Engels
b478d2d374 Add autofix for Documentation.ReadmeLinksPointToCurrentVersion 2020-04-04 12:35:29 +02:00
Jeroen Engels
a932f65fe9 Add Documentation.ReadmeLinksPointToCurrentVersion rule 2020-04-04 12:35:29 +02:00
Jeroen Engels
1143afeb31 Re-allow README to be automatically fixed 2020-04-04 12:35:29 +02:00
Jeroen Engels
8637b6050e Move misc rules into a separate folder 2020-04-03 23:00:51 +02:00
Jeroen Engels
30eabfde39 Reorganize test files for the core internals 2020-04-03 16:19:24 +02:00
Jeroen Engels
ec4044826b Re-organize test rules 2020-04-03 16:19:24 +02:00
Jeroen Engels
19f35f835f Move test rules into tests/ 2020-04-03 16:19:24 +02:00
Jeroen Engels
60106d7958 Add NoUnused rules like they are in jfmengels/review-unused 2020-04-03 16:19:24 +02:00
Jeroen Engels
02d7665e91 Add NoDebug rules like they are in jfmengels/review-debug 2020-04-03 16:19:24 +02:00
Jeroen Engels
a0df1118d9 Simplify NoInvalidLicense 2020-04-02 00:26:33 +02:00
Jeroen Engels
61aaf0f873 Give less useless details in NoUnused rules 2020-04-01 22:40:23 +02:00
Jeroen Engels
3d30a56cb0 Fix demo 2020-04-01 21:05:54 +02:00
Jeroen Engels
7673e985fb Warn against storing functions in the contexts 2020-04-01 20:59:00 +02:00
Jeroen Engels
aec1b49a64 Doc fixes 2020-04-01 20:49:21 +02:00
Jeroen Engels
9898c5abfd Use absolute links in the README to link to modules 2020-04-01 20:29:22 +02:00
Jeroen Engels
17c8fb6d29 Uncheck checklist items in the README 2020-04-01 20:25:27 +02:00
Jeroen Engels
23c376b7e1 Rephrase project summary a bit 2020-04-01 20:24:50 +02:00
Jeroen Engels
eb20ed7de0 Remove elm-review and elm-xref from test command 2020-04-01 20:21:14 +02:00
Jeroen Engels
8d0108a682 Ignore fixes for the README 2020-04-01 20:21:14 +02:00
Jeroen Engels
fc42febf39 Add License information in Scope 2020-04-01 20:21:14 +02:00
Jeroen Engels
eccc656bd4 Inline NonemptyList in Scope 2020-04-01 20:21:14 +02:00
Jeroen Engels
e453f7e331 Recommend to use elm-review-scope 2020-04-01 20:13:45 +02:00
Jeroen Engels
0f25a734e5 Change the order of Scope.realModuleName arguments 2020-04-01 20:13:45 +02:00
Jeroen Engels
402eb6f813 Update NoUnusedVariable 2020-04-01 20:13:45 +02:00
Jeroen Engels
143ecb9618 Rename realFunctionOrType by realModuleName 2020-04-01 20:13:45 +02:00
Jeroen Engels
9328872aa6 Rename Scope2 to Review.Scope 2020-04-01 20:13:45 +02:00
Jeroen Engels
baafd04810 Fix prelude loading in Scope 2020-04-01 20:13:45 +02:00
Jeroen Engels
69c6f4e515 Use Scope2 instead of Scope 2020-04-01 20:13:45 +02:00
Jeroen Engels
ab360b6db1 Add phantom type variable to Error in documentation examples 2020-04-01 20:13:45 +02:00
Jeroen Engels
5dec76b06c Prevent use of error in project visitors 2020-04-01 20:13:45 +02:00
Jeroen Engels
31cd0c6691 Add phantom type variable to Error in other files than Review.Rule 2020-04-01 20:13:45 +02:00
Jeroen Engels
422400d929 Add phantom type variable to Error 2020-04-01 20:13:45 +02:00
Jeroen Engels
4fae9b907c Make rules report ReviewError 2020-04-01 20:13:45 +02:00
Jeroen Engels
bebf44460f Split Error into UnspecifiedError and SpecifiedError 2020-04-01 20:13:45 +02:00
Jeroen Engels
772ca5e423 Move ProjectRuleSchema's phantom type to be the first type variable 2020-04-01 20:13:45 +02:00
Jeroen Engels
07e211f076 Rename configuration to schemaState 2020-04-01 20:13:45 +02:00
Jeroen Engels
ecf942855d Rename filesThatFailedToParse to modulesThatFailedToParse 2020-04-01 20:13:45 +02:00
Jeroen Engels
64b2072496 Remove outdated TODO 2020-04-01 20:13:45 +02:00
Jeroen Engels
8a79876f65 Document README visitors 2020-04-01 20:13:45 +02:00
Jeroen Engels
56515556fb Remove unused pattern variables 2020-04-01 20:13:45 +02:00
Jeroen Engels
16e34c87dc Document withModuleContext 2020-04-01 20:13:45 +02:00
Jeroen Engels
912ed3ded4 Make phantom type tests work when run from any directory 2020-04-01 20:13:45 +02:00
Kasper Møller Andersen
ae15334993
Slim down the README (#5)
Thanks a lot @KasMA1990 

* Slim down the README

This removes almost a fourth of the words in it :)

* Further cleanup of README

* Better highlight that elm-review is built to be extensible
2020-04-01 20:13:34 +02:00
Jeroen Engels
a36dc9a15e
Update elm-lint-to-elm-review.md 2020-04-01 17:07:00 +02:00
Jeroen Engels
25daae31d9 Document withModuleContext 2020-03-24 00:09:15 +01:00
Jeroen Engels
1bd923cd5f Fix wrong error message. Thanks Anton Komissarov! 2020-03-23 20:42:29 +01:00