Commit Graph

758 Commits

Author SHA1 Message Date
Jeroen Engels
c30f110e4c Avoid recomputing the readme for module rules 2020-06-11 00:28:35 +02:00
Jeroen Engels
6116c8d4b1 Avoid recomputing the elm.json for module rules 2020-06-11 00:28:35 +02:00
Jeroen Engels
bbdce7271a Avoid recomputing the dependencies visitor if they haven't changed 2020-06-11 00:28:35 +02:00
Jeroen Engels
f4b0ffd84f Avoid recomputing the README visitor if it hasn't changed 2020-06-11 00:28:35 +02:00
Jeroen Engels
b30b2bdd68 Refactor project rule cache 2020-06-11 00:28:35 +02:00
Jeroen Engels
9a6d8dd535 Avoid recomputing the elm.json visitor if it hasn't changed 2020-06-11 00:28:35 +02:00
Jeroen Engels
c63f8b9f9d Avoid recomputing the final project evaluation if nothing changed from last run 2020-06-11 00:28:35 +02:00
Jeroen Engels
dc5dbe2156 Make ProjectRuleCache a record 2020-06-11 00:28:35 +02:00
Jeroen Engels
480f8eb490 Improve type annotations for Rule's internals 2020-06-11 00:28:35 +02:00
Jeroen Engels
81ccc8a2e5 Add Never to phantom types 2020-06-11 00:28:35 +02:00
Leo Jpod
71a50c3114
Add module aliasing to the example typo rule (#14)
Without it the example doesn't compile 😄
2020-06-08 14:03:24 +02:00
Jeroen Engels
1a14c26d65 Fix incorrect error message when the number of errors is unexpected 2020-06-06 19:12:08 +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
d311c44f3d v2.1.1 2020-06-02 22:37:39 +02:00
Jeroen Engels
977bf4ea4e Move action workflows 2020-06-02 22:35:26 +02:00
Jeroen Engels
fe9f1f2942 Add publish GitHub action 2020-06-02 22:25:15 +02:00
Jeroen Engels
56cd72846d Remove duplicate installation step in GitHub Actions 2020-06-02 22:25:15 +02:00
Jeroen Engels
5220799e2e Remove duplicate installation step in GitHub Actions 2020-06-02 22:17:50 +02:00
Jeroen Engels
7ab1830de1
Add GitHub action to run tests 2020-06-02 22:12:50 +02:00
Jeroen Engels
8fbd5723c9 Highlight whitespace differences
Fixes #11
2020-06-02 22:04:09 +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
2b918beafe Ignore ElmjutsuDumMyM0DuL3.elm 2020-06-01 09:03:08 +02:00
Jeroen Engels
70bfc6f0bd Rename NoInvalidLicense to NoUnapprovedLicense 2020-06-01 09:02:33 +02:00
Jeroen Engels
9378669cc0 Add code of conduct 2020-05-29 00:12:49 +02:00
Jeroen Engels
33510ff756
Create SUPPORT.md 2020-05-28 23:49:05 +02:00
Jeroen Engels
240101e391 Bump review dependencies 2020-05-27 11:55:20 +02:00
Jeroen Engels
cd48eab8a4 2.1.0 2020-05-26 22:19:54 +02:00
Jeroen Engels
d385d64a3b Commit docs.json 2020-05-26 22:19:54 +02:00
Jeroen Engels
33a4baade6 Fix examples for expectErrorsForElmJson/Readme 2020-05-24 19:06:37 +02:00
Jeroen Engels
e941bd8b47 (MINOR) Add a way to inspect fixes 2020-05-24 11:55:19 +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
226a05639b v2.0.2 2020-05-17 17:11:42 +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
52fd8d968e Simplify Review.Test.getCodeAtLocationInSourceCode 2020-05-16 22:43:36 +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
68a8def875 Fix examples for ignoreErrors* function 2020-05-03 17:01:03 +02:00
Jeroen Engels
f348e35961 Remove unwanted words from documentation 2020-04-30 17:10:37 +02:00
Jeroen Engels
2d2242d5f6 2.0.1 2020-04-30 11:49:13 +02:00
Jeroen Engels
2f0acdfc57 Make README image clickable and point to a uncropped version 2020-04-30 11:46:25 +02:00
Jeroen Engels
263c6f0334 Replace explanation image by one that can show off nicer things 2020-04-30 11:32:34 +02:00
Jeroen Engels
bd4377f106 Fix files not being ignored correctly in Windows 2020-04-29 19:32:06 +02:00
Jeroen Engels
b28ec62b08 Optimize Review.Exceptions slightly 2020-04-27 19:51:23 +02:00
Jeroen Engels
941d1243ce Fix example for runOnModules and runOnModulesWithProjectData
Fixes #10
2020-04-27 17:52:04 +02:00
Jeroen Engels
d0b9cb16f7 Remove Review.Scope 2020-04-21 23:02:26 +02:00