Commit Graph

832 Commits

Author SHA1 Message Date
Jeroen Engels
7a9246e4fa Add script to backport rules 2020-08-09 18:56:12 +02:00
Jeroen Engels
047b145c58 Talk about --template in the try it out section of the README 2020-07-25 22:40:28 +02:00
Jeroen Engels
446a374c20 Add function to look at the rule name 2020-07-23 23:53:16 +02:00
Jeroen Engels
29fbecb033 Fix typo 2020-07-09 09:26:32 +02:00
Jeroen Engels
747dfabb3f Rename and document new functions 2020-07-02 07:41:19 +02:00
Jeroen Engels
aa72525032 Remove unused function 2020-06-28 13:44:52 +02:00
Jeroen Engels
260f34d743 Add a new function to initialize a module rule's context using a context creator + isInSourceDirectories metadata 2020-06-28 12:21:13 +02:00
Jeroen Engels
619850016a Add a way to get the module context using a module context creator 2020-06-28 10:00:43 +02:00
Jeroen Engels
35eab49acd Remove unused functions 2020-06-28 08:35:32 +02:00
Jeroen Engels
b1cf32bb84 Delete Visitors, Context and metadata modules 2020-06-28 08:03:23 +02:00
Jeroen Engels
80ef7c7900 Stop exposing things that should not be exposed 2020-06-28 08:01:44 +02:00
Jeroen Engels
4c43013fb8 Remove Rule3 2020-06-28 08:01:44 +02:00
Jeroen Engels
d2220e652b Use Rule instead of Rule3 2020-06-28 08:01:44 +02:00
Jeroen Engels
b11c1f5037 Copy Rule3 changes back into Rule 2020-06-28 07:47:06 +02:00
Jeroen Engels
bf0808754a Move Visitor and Metadata into Rule 2020-06-28 07:33:12 +02:00
Jeroen Engels
6b7e014f21 Expose Context 2020-06-26 19:40:39 +02:00
Jeroen Engels
0688386fb8 Remove unused code 2020-06-26 19:39:07 +02:00
Jeroen Engels
34810b1e64 Delete Rule2 2020-06-26 19:35:29 +02:00
Jeroen Engels
394fdd82d9 Move over more functions 2020-06-26 19:28:41 +02:00
Jeroen Engels
234de970f6 Copy over runReview 2020-06-26 18:21:10 +02:00
Jeroen Engels
673de4cb0f Remove name field from RunnableProjectVisitor 2020-06-26 16:59:36 +02:00
Jeroen Engels
b3278457c3 Add next steps as todo 2020-06-26 09:00:13 +02:00
Jeroen Engels
f401855d5c Turn rule internals into a record 2020-06-26 08:52:31 +02:00
Jeroen Engels
0ab5697aa8 Remove Debug.todo 2020-06-26 00:50:00 +02:00
Jeroen Engels
0598301507 Remove name from project visitor 2020-06-26 00:31:38 +02:00
Jeroen Engels
0b4de3ab1e Avoid analyzing modules when their analysis will not impact the result 2020-06-26 00:16:38 +02:00
Jeroen Engels
7bd35b1941 Add project visitors to module visitors 2020-06-26 00:08:31 +02:00
Jeroen Engels
1d5ca98a61 Make visitor order test more robust 2020-06-25 23:09:09 +02:00
Jeroen Engels
c8445f7bf6 Rename all _New functions 2020-06-25 22:57:31 +02:00
Jeroen Engels
8216097025 Rename ModuleVisitor into ModuleRuleSchema, until the next breaking change 2020-06-25 22:52:11 +02:00
Jeroen Engels
94b0ab6a79 Turn module visitors into project rules 2020-06-25 22:49:44 +02:00
Jeroen Engels
d391bf450e Merge Folder and Traversal 2020-06-25 22:19:54 +02:00
Jeroen Engels
df86632c1d Turn Folder into a Context 2020-06-25 22:19:54 +02:00
Jeroen Engels
d1a16cc83d Make project rules work with the new implementation 2020-06-25 22:19:54 +02:00
Jeroen Engels
92704981e8 Get closer 2020-06-25 19:23:09 +02:00
Jeroen Engels
b66816b589 Add module visitors to project rules 2020-06-25 19:23:09 +02:00
Jeroen Engels
af63061a18 TMP run modules in project rules 2020-06-25 19:23:09 +02:00
Jeroen Engels
463a36b724 Simplify accumulator 2020-06-25 19:23:09 +02:00
Jeroen Engels
92b09e030d Remove unused code 2020-06-25 19:23:09 +02:00
Jeroen Engels
dc131e8265 Use new module rules in tests 2020-06-25 19:23:09 +02:00
Jeroen Engels
fdd67292be Add ability to run modules rules 2020-06-25 19:23:09 +02:00
Jeroen Engels
5a2e85ecbf Create working project rule without module visitors 2020-06-25 19:23:09 +02:00
Jeroen Engels
6c74c3f77a Force project rule to have at least one visitor 2020-06-25 19:23:09 +02:00
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