Skip to content

Formatting: Dont ignore original filePath/name

Waqar Ahmed requested to merge work/fmt-stdin-fix into master

It can mess up includes for the file i.e.,

if the file name hello.cpp is renamed a.cpp it will put its sort its header include as well because header include is at the top only if the file name was hello.cpp

It also messes up locating the right prettier and prettier config.

Merge request reports