Use names that reflect the external meaning and documented behavior—not internal implementation details or misleading assumptions.
Rules
commit vs dry_run) and ensure call sites pass the same parameter.Example patterns
-- Prefer schema-aligned naming
local raw_id_token = session:get("enc_id_token")
if raw_id_token and conf.set_raw_id_token_header then
core.request.set_header(ctx, "X-Raw-ID-Token", raw_id_token)
end
-- Instead of a fake validator like is_nginx_variable(), use resolve_var
local resolved, count = core.utils.resolve_var(template)
if count == 0 then
-- leave as-is
end
Enter the URL of a public GitHub repository