File tree Expand file tree Collapse file tree
migration-lint-staged-merge-fail
migration-lintstagedrc-merge-fail Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ VITE+ - The Unified Toolchain for the Web
88! Warnings:
99 - Failed to merge staged config into vite.config.ts
1010→ Manual follow-up:
11- - Please add staged config to vite.config.ts manually, see https://viteplus.dev/config/
11+ - Please add staged config to vite.config.ts manually, see https://viteplus.dev/guide/migrate#lint-staged
1212
1313> cat package.json # lint-staged config should be preserved when merge fails
1414{
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ VITE+ - The Unified Toolchain for the Web
88! Warnings:
99 - Failed to merge staged config into vite.config.ts
1010→ Manual follow-up:
11- - Please add staged config to vite.config.ts manually, see https://viteplus.dev/config/
11+ - Please add staged config to vite.config.ts manually, see https://viteplus.dev/guide/migrate#lint-staged
1212
1313> cat package.json # check package.json
1414{
Original file line number Diff line number Diff line change @@ -1430,7 +1430,7 @@ function mergeStagedConfigToViteConfig(
14301430 report ,
14311431 ) ;
14321432 infoMigration (
1433- `Please add staged config to ${ displayRelative ( fullViteConfigPath ) } manually, see https://viteplus.dev/config/ ` ,
1433+ `Please add staged config to ${ displayRelative ( fullViteConfigPath ) } manually, see https://viteplus.dev/guide/migrate#lint-staged ` ,
14341434 report ,
14351435 ) ;
14361436 return false ;
You can’t perform that action at this time.
0 commit comments