Commit Graph

267 Commits

Author SHA1 Message Date
Jeroen Engels
c9e8f9680d Backport changes from review dependencies 2020-06-20 20:09:03 +02:00
Jeroen Engels
97179db534 Remove unused variables in NoLeftPizza 2020-06-20 18:21:58 +02:00
Jeroen Engels
b98f83d5f9 Backport changes from elm-review-noleftpizza 2020-06-19 18:44:03 +02:00
Jeroen Engels
2082f1fd34 Use withExpressionEnterVisitor in tests and examples 2020-06-19 17:57:27 +02:00
Jeroen Engels
748583e778 Deprecate Direction 2020-06-19 15:35:11 +02:00
Jeroen Engels
5e2b633c54 Fix inversion of result and expected fixed source code in whitespace failure message 2020-06-19 12:36:12 +02:00
Jeroen Engels
cfd7a9157e Rename enter and exit visitors 2020-06-16 22:03:18 +02:00
Jeroen Engels
767a7ba321 Use onEnter variants on test rules 2020-06-16 00:00:41 +02:00
Jeroen Engels
210dbea5e1 Enable NoUnused.Parameters 2020-06-14 16:44:44 +02:00
Jeroen Engels
acc00dfc3f Backport changes from review-unused and elm-review-scope 2020-06-14 16:44:44 +02:00
Jeroen Engels
be43b18a2f Make every test failure title red and bold 2020-06-03 19:16:42 +02:00
Jeroen Engels
932c788b9f Backport work from review packages 2020-06-03 18:23:19 +02:00
Jeroen Engels
46f94c220d Fix tests: fixed code with only two lines was incorrectly extracted 2020-06-02 18:04:08 +02:00
Jeroen Engels
70bfc6f0bd Rename NoInvalidLicense to NoUnapprovedLicense 2020-06-01 09:02:33 +02:00
Jeroen Engels
ca98c71e43 Make "Rule reported less errors than expected" error more informative 2020-05-19 19:41:11 +02:00
Jeroen Engels
c76d4d972f Make expected errors order-agnostic
Fixes #12
2020-05-17 17:08:27 +02:00
Jeroen Engels
ee8f294c18 Backport scope v0.2.0 2020-05-16 22:44:11 +02:00
Jeroen Engels
f1e3e725a8 Backport work from review-unused 2020-05-14 21:24:29 +02:00
Jeroen Engels
7d2a08d335 Backport Scope 2020-05-14 21:24:29 +02:00
Jeroen Engels
d0bd0579f3 Fix Review.Test not working correctly with multilines 2020-05-14 21:24:29 +02:00
Jeroen Engels
d2c37dd489 Fix typo in test failure messages 2020-05-14 20:45:16 +02:00
Jeroen Engels
06564b9cc1 Rename ErrorMessage to FailureMessage 2020-05-14 20:45:16 +02:00
Jeroen Engels
bd4377f106 Fix files not being ignored correctly in Windows 2020-04-29 19:32:06 +02:00
Jeroen Engels
d0b9cb16f7 Remove Review.Scope 2020-04-21 23:02:26 +02:00
Jeroen Engels
33c85462ed Backport work from review packages and elm-review-scope 2020-04-21 23:01:47 +02:00
Jeroen Engels
418a50e183 Backport work from review packages 2020-04-20 23:11:53 +02:00
Jeroen Engels
2d42e89092 Backport work from review packages 2020-04-08 18:36:56 +02:00
Jeroen Engels
1fbf67bddb Backport work from review-common 2020-04-08 00:19:25 +02:00
Jeroen Engels
ddf76dcba9 Backport work from review packages 2020-04-07 23:25:35 +02:00
Jeroen Engels
1d91332a68 Remove duplicate information in NoInvalidLicense 2020-04-06 19:13:13 +02:00
Jeroen Engels
2070a15ada Backport work from review-simplification 2020-04-06 17:18:56 +02:00
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
9ce54258a6 Remove references to withFixes 2020-04-05 09:25:17 +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
fdca981cc5 Add Documentation rules like they are in jfmengels/review-documentation 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
61aaf0f873 Give less useless details in NoUnused rules 2020-04-01 22:40:23 +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