Commit 36f7eb0b authored by Matt Butcher's avatar Matt Butcher
Browse files

fix(linter): add engine.FuncMap so linter can use real function list

This adds a function engine.FuncMap that returns a function mapping that
better represents the functions passed to a template. The linting logic
is reconfigured to use this function instead of the sprig.FuncMap
function.

Closes #1366
parent 70b29a47
No related merge requests found
Showing with 43 additions and 5 deletions
+43 -5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment