Expand Prettier config list (#33744)
Improves the prettier config file detection by adding missing entries that are allowed per the docs: https://prettier.io/docs/configuration Release Notes: - Improved Prettier config file detection
This commit is contained in:
@@ -54,9 +54,17 @@ impl Prettier {
|
||||
".prettierrc.toml",
|
||||
".prettierrc.js",
|
||||
".prettierrc.cjs",
|
||||
".prettierrc.mjs",
|
||||
".prettierrc.ts",
|
||||
".prettierrc.cts",
|
||||
".prettierrc.mts",
|
||||
"package.json",
|
||||
"prettier.config.js",
|
||||
"prettier.config.cjs",
|
||||
"prettier.config.mjs",
|
||||
"prettier.config.ts",
|
||||
"prettier.config.cts",
|
||||
"prettier.config.mts",
|
||||
".editorconfig",
|
||||
".prettierignore",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user