Skip to content

Commit

Permalink
Add mjs options to prettier
Browse files Browse the repository at this point in the history
See here: https://prettier.io/docs/en/configuration.html

Now ESM modules are allowed for prettier config files
  • Loading branch information
alexrecuenco committed Jan 31, 2025
1 parent 48ab56f commit 3de0992
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ const prettierConfigFilenames = new Set([
'.prettierrc.json5',
'.prettierrc.js',
'.prettierrc.cjs',
'.prettierrc.mjs',
'prettier.config.js',
'prettier.config.cjs',
'prettier.config.mjs',
'.prettierrc.toml',
]);

Expand Down

0 comments on commit 3de0992

Please sign in to comment.