Skip to content

Relequestual/oxfmt-config-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oxfmt multi-root workspace config repro

Minimal reproduction for oxfmt VS Code extension ignoring oxc.fmt.configPath in a multi-root workspace.

Setup

cd project-a && npm install

Expected behavior

Opening repro.code-workspace and formatting project-a/src/example.test.ts should produce single quotes and no semicolons (per .oxfmtrc.jsonc).

Actual behavior

The formatter uses default settings (double quotes, semicolons), ignoring the config file.

CLI works correctly

cd project-a && npx oxfmt --check src/example.test.ts
# Reports formatting issues (double quotes → single quotes expected)

cd project-a && npx oxfmt --write src/example.test.ts
# Correctly applies single quotes and removes semicolons

About

Minimal repro: oxfmt VS Code extension ignores oxc.fmt.configPath in multi-root workspace

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages