Skip to content

Commit

Permalink
Merge pull request #1216 from bryceosterhaus/scriptsTscFix
Browse files Browse the repository at this point in the history
fix(npm-scripts): don't use prettier plugins when formatting d.ts files
  • Loading branch information
bryceosterhaus authored May 29, 2024
2 parents 9db7d20 + 61905b0 commit d82d9ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ async function postProcess({compilerOptions: {outDir: baseDir}}) {
const prettierOptions = {
...config,
filepath,
plugins: [], // intentionally drop any plugins
};

const formatted = await prettier.format(source, prettierOptions);
Expand Down

0 comments on commit d82d9ed

Please sign in to comment.