Commit Graph

22 Commits

Author SHA1 Message Date
Dillon Kearns
ec40fa4740 Ensure that ActionData is exposed. 2022-05-11 15:52:15 -07:00
Dillon Kearns
d50846cf9b Check for exposed head function in NoContractViolations. 2022-03-31 09:17:49 -07:00
Dillon Kearns
339d54a9e9 Update examples to use ErrorPage, and add to NoContractViolations. 2022-03-29 15:32:43 -07:00
Dillon Kearns
f5e2b511a0 Report contract violation errors for missing exposed types and values for core modules. 2022-03-24 16:10:35 -07:00
Dillon Kearns
a6870989a1 Report missing core modules in NoContractViolations review check. 2022-03-24 15:18:28 -07:00
Dillon Kearns
717d1a8a2a Use module name lookup table to make sure RouteBuilder references are caught whether or not it is aliased/unqualified. 2022-03-11 11:29:57 -08:00
Dillon Kearns
9fe97c7b9a Update elm-review codemod and contract enforcer with new route naming. 2022-03-09 09:48:48 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
18666e18be Update error messages and internal naming in no contract violations rule. 2022-03-05 09:40:23 -08:00
Dillon Kearns
70143e7149 Fix no contract violations check to handle new Route Modules naming convention. 2022-03-05 09:38:18 -08:00
Dillon Kearns
edfe401f30 Fix some test cases. 2022-02-26 14:10:31 -08:00
Dillon Kearns
e793a8fe89 Ensure that fixes don't infinitely apply for Request.oneOf [] case. 2022-02-21 15:50:17 -08:00
Dillon Kearns
c47dfce740 Handle remaining dead-code elimination cases. 2022-02-13 13:52:31 -08:00
Dillon Kearns
88ca2f8a02 Remove DataSource code from bundle. 2022-02-13 12:42:31 -08:00
Dillon Kearns
6327087998 Add symlink to Internal folder so unit tests can depend on copied internal code files in generated folder. 2021-12-11 12:20:08 -08:00
Dillon Kearns
b3dbb7d4d6 Use more precise region for RouteParams rule errors. 2021-08-27 09:35:57 -07:00
Dillon Kearns
27c75fba9b Point unexposed error to more narrow exposing line. 2021-08-27 09:27:04 -07:00
Dillon Kearns
194470aaf4 Handle optional splats in rule. 2021-08-26 14:05:00 -07:00
Dillon Kearns
562a6e39fd Handle Required Splat route params in rule. 2021-08-26 13:52:51 -07:00
Dillon Kearns
81bc444ba0 Handle optional and required route params in rule. 2021-08-26 13:30:44 -07:00
Dillon Kearns
b3e1d7dc3a Don't run Page Module rules except on Page Modules. 2021-08-26 12:51:21 -07:00
Dillon Kearns
83e1aeddb0 Move review rule to Elm package. 2021-08-26 10:27:30 -07:00