Commit Graph

1060 Commits

Author SHA1 Message Date
Jeroen Engels
e550dce72d Use lookup table in ModuleNameForTypeTest 2020-08-22 09:54:20 +02:00
Jeroen Engels
31eef5486b Use lookup table in NoUnused.CustomTypeConstructors 2020-08-22 09:43:30 +02:00
Jeroen Engels
0a2eb1deea Lookup table: Look for types 2020-08-22 08:50:42 +02:00
Jeroen Engels
808baa1a22 Use lookup table in NoUnused.Exports 2020-08-22 08:50:39 +02:00
Jeroen Engels
7064268dc0 Use lookup table in NoUMissingSubscriptionsCall 2020-08-21 23:29:54 +02:00
Jeroen Engels
3e85e3709a Add elements in the lookup table 2020-08-21 20:53:33 +02:00
Jeroen Engels
08a3cbf7a7 Pass in module name lookup table to rules 2020-08-21 18:53:22 +02:00
Jeroen Engels
95b4e12b76 Use the lookup tables collected during the pre-run 2020-08-21 09:27:01 +02:00
Jeroen Engels
396f6fe967 Inject module name lookup table inside project 2020-08-20 23:36:12 +02:00
Jeroen Engels
f9c56f9428 Extract data from rule 2020-08-20 23:27:04 +02:00
Jeroen Engels
7eb9d07e0f Extract data out of the rule implementation 2020-08-20 23:01:30 +02:00
Jeroen Engels
c4f1a268d6 TMP Only run a single test 2020-08-20 23:00:21 +02:00
Jeroen Engels
7885b4a23b Prepare for extracting data out of a rule 2020-08-20 22:53:36 +02:00
Jeroen Engels
13a0ab4194 Run scope rule before the rest 2020-08-20 22:46:48 +02:00
Jeroen Engels
679dcde4ed Extract global error into top-level function 2020-08-20 22:33:45 +02:00
Jeroen Engels
0cfa3b89f4 Get closer to visiting 2020-08-20 00:29:39 +02:00
Jeroen Engels
592a1a21f0 Create it when precomputing or evaluating AST 2020-08-20 00:12:17 +02:00
Jeroen Engels
2b12cebd9c Use lookup table 2020-08-19 23:43:02 +02:00
Jeroen Engels
988a543f87 Add ways to use the lookup table 2020-08-19 23:35:43 +02:00
Jeroen Engels
556a4b24bc Move again 2020-08-19 23:26:48 +02:00
Jeroen Engels
494d376ba6 Add ModuleNameLookupTable 2020-08-19 23:16:20 +02:00
Jeroen Engels
f32dc336af Add new Scope type 2020-08-19 23:01:43 +02:00
Ben Briggs
336e209222
Add link to elm-review-rule-ideas. (#18) 2020-08-14 17:08:46 +02:00
Jeroen Engels
49468f40bf Add missing type annotation 2020-08-11 17:20:52 +02:00
Jeroen Engels
df8fef43e9 Remove unused variable in NoUnapprovedLicense 2020-08-11 17:20:52 +02:00
Jeroen Engels
fa9b6d21f6 Add new rules to the review configuration 2020-08-11 17:20:52 +02:00
Jeroen Engels
d9fd1612ed Talk about new-package and new-rule in the README 2020-08-09 19:01:13 +02:00
Jeroen Engels
449b21addd Backport rules from other packages 2020-08-09 18:56:12 +02:00
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