Commit Graph

789 Commits

Author SHA1 Message Date
Jeroen Engels
3c9d2eda59 Add project visitors 2020-06-25 19:23:09 +02:00
Jeroen Engels
8fe089e65c Create project rule schema 2020-06-25 19:23:09 +02:00
Jeroen Engels
a99f2dbbf3 Store new module context info into project rules 2020-06-25 19:23:09 +02:00
Jeroen Engels
38fdd59b4e Add projectContext to Context 2020-06-25 19:23:09 +02:00
Jeroen Engels
c5432d1a52 Copy Rule file 2020-06-25 19:23:09 +02:00
Jeroen Engels
34303d2afb Create prototype for context creation, where we can determine what was requested 2020-06-25 19:23:09 +02:00
Jeroen Engels
f13459fef1 Rework Project.addElmJson documentation 2020-06-23 10:14:37 +02:00
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
dbc28af347 Bump elm-review in review config 2020-06-20 18:21:11 +02:00
Jeroen Engels
91f92d4291 v2.2.0 2020-06-20 18:00:34 +02:00
Jeroen Engels
b98f83d5f9 Backport changes from elm-review-noleftpizza 2020-06-19 18:44:03 +02:00
Jeroen Engels
a799746e40 Update to latest version of elm-syntax 2020-06-19 18:43:39 +02:00
Jeroen Engels
2082f1fd34 Use withExpressionEnterVisitor in tests and examples 2020-06-19 17:57:27 +02:00
Jeroen Engels
bc251d38f5 Document the declaration and expression exit visitors 2020-06-19 17:17:03 +02:00
Jeroen Engels
025fd31944 Simplifiy comparePosition function 2020-06-19 15:35:11 +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
9b1a822a42 Bump CLI to v2.2.0 2020-06-16 22:01:37 +02:00
asrar
8340879365
Fix typo then -> them (#16) 2020-06-16 21:56:45 +02:00
Jeroen Engels
8cec886fcd Deprecate withDeclarationVisitor and withExpressionVisitor 2020-06-16 00:04:43 +02:00
Jeroen Engels
767a7ba321 Use onEnter variants on test rules 2020-06-16 00:00:41 +02:00
Jeroen Engels
8b7891e57d Remove complexity around direction 2020-06-15 23:06:47 +02:00
Jeroen Engels
bcc2d135b3 Separate declaration visitor between enter and exit visitors 2020-06-15 22:40:11 +02:00
Jeroen Engels
0c26751b30 Add withExpressionVisitorOnEnter and OnExit 2020-06-15 22:25:07 +02:00
Jeroen Engels
dcff22a923 Separate expression visitor between enter and exit visitors 2020-06-15 22:01:30 +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
be46891b26 Enable NoUnused.Patterns 2020-06-11 22:07:06 +02:00
Jeroen Engels
ea13c6ef0c Avoid recomputing the dependencies for module rules 2020-06-11 00:28:35 +02:00
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