Skip to content

Commit 421f492

Browse files
committed
Update vite_config.rs
1 parent 8bdbabc commit 421f492

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

crates/vite_migration/src/vite_config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ pub struct RewriteResult {
9999
/// Path::new(".oxlintrc"),
100100
/// "lint",
101101
/// )?;
102-
///
103-
/// // Merge oxfmt config with "format" key
102+
/// // Merge oxfmt config with "fmt" key
104103
/// let result = merge_json_config(
105104
/// Path::new("vite.config.ts"),
106105
/// Path::new(".oxfmtrc.json"),
106+
/// "fmt",
107107
/// "format",
108108
/// )?;
109109
///

packages/cli/binding/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export interface JsCommandResolvedResult {
137137
*
138138
* * `vite_config_path` - Path to the vite.config.ts or vite.config.js file
139139
* * `json_config_path` - Path to the JSON config file (e.g., .oxlintrc, .oxfmtrc)
140-
* * `config_key` - The key to use in the vite config (e.g., "lint", "format")
140+
* * `config_key` - The key to use in the vite config (e.g., "lint", "fmt")
141141
*
142142
* # Returns
143143
*

packages/global/snap-tests/gen-create-vite-with-scope-name/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

0 commit comments

Comments
 (0)