Skip to content

Commit 02fbfa8

Browse files
author
Lukáš Horák
committed
🐛 Take in account editorconfig when resolving prettier configuration
1 parent 9347e1a commit 02fbfa8

File tree

1 file changed

+3
-1
lines changed
  • packages/lokse/src/core/transformer

1 file changed

+3
-1
lines changed

packages/lokse/src/core/transformer/json.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ async function format(output: string) {
1111
return output;
1212
}
1313

14-
const options = await prettier.resolveConfig(prettierConfig);
14+
const options = await prettier.resolveConfig(prettierConfig, {
15+
editorconfig: true,
16+
});
1517

1618
if (options === null) {
1719
return output;

0 commit comments

Comments
 (0)