diff --git a/CHANGELOG.md b/CHANGELOG.md index b9717afa0..10c891a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ All notable changes to the "prettier-vscode" extension will be documented in thi ## [Unreleased] +## [10.5.0] + +- Extend list of Prettier config files by ECMAScript module extentions + ## [10.4.0] - Fixed config resolution that caused plugins to be ignored when using Prettier 3.1.1 or later. (#3252) diff --git a/src/PrettierEditService.ts b/src/PrettierEditService.ts index f9ff0dd6d..98c90955e 100644 --- a/src/PrettierEditService.ts +++ b/src/PrettierEditService.ts @@ -45,9 +45,11 @@ const PRETTIER_CONFIG_FILES = [ ".prettierrc.toml", ".prettierrc.js", ".prettierrc.cjs", + ".prettierrc.mjs", "package.json", "prettier.config.js", "prettier.config.cjs", + "prettier.config.mjs", ".editorconfig", ];