Commit Graph

683 Commits

Author SHA1 Message Date
Jeroen Engels
4f2500c9c8 Backport work from review-simplification 2020-04-05 09:57:34 +02:00
Jeroen Engels
236da80392 Backport work from NoDebug 2020-04-05 09:47:59 +02:00
Jeroen Engels
5bcae912f2 Reword documentation 2020-04-05 09:36:30 +02:00
Jeroen Engels
9ce54258a6 Remove references to withFixes 2020-04-05 09:25:17 +02:00
Jeroen Engels
b21b317312 Remove useless fields from package.json 2020-04-04 22:58:19 +02:00
Jeroen Engels
c346ec2240 Hide moduleGraph from public API 2020-04-04 18:59:48 +02:00
Jeroen Engels
1f38de974a Backport work from NoUnused 2020-04-04 15:56:40 +02:00
Jeroen Engels
f96b38160b Improve how fixes are applied 2020-04-04 14:29:40 +02:00
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