aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-08-29 16:19:34 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-08-29 16:23:39 -0700
commit03a37f1b53d83af7aee10fc3ffee9f3a05d09e2e (patch)
tree10c30117d98197cd8cfe02226aa4f6308bdf6aba /README.md
parentbf68b4a987231b18018f9621cfb15670a9a681b3 (diff)
feat: add support for environment variables (#8)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9bc8c24..8622df0 100644
--- a/README.md
+++ b/README.md
@@ -250,6 +250,10 @@ require("conform").setup({
end,
-- Exit codes that indicate success (default {0})
exit_codes = { 0, 1 },
+ -- Environment variables. This can also be a function that returns a table.
+ env = {
+ VAR = "value",
+ },
},
-- These can also be a function that returns the formatter
other_formatter = function()