File tree Expand file tree Collapse file tree
crates/vite_migration/src
global/snap-tests/gen-create-vite-with-scope-name Expand file tree Collapse file tree Original file line number Diff line number Diff 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///
Original file line number Diff line number Diff 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 *
Original file line number Diff line number Diff line change 11{
2+ "ignoredPlatforms" : [" win32" ],
23 "env" : {
34 "VITE_DISABLE_AUTO_INSTALL" : " 1"
45 },
You can’t perform that action at this time.
0 commit comments