Skip to content

Commit 619363c

Browse files
authored
fix(oxfmt): include Vite config files in formatter config (#868)
Add support for Vite configuration files in formatter, to support vite plus for instance
1 parent 40cd294 commit 619363c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lua/conform/formatters/oxfmt.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ local config_file_names = {
55
".oxfmtrc.json",
66
".oxfmtrc.jsonc",
77
"oxfmt.config.ts",
8+
-- https://viteplus.dev/guide/fmt#configuration
9+
"vite.config.ts",
10+
"vite.config.js",
811
}
912

1013
---@type conform.FileFormatterConfig

0 commit comments

Comments
 (0)