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:
parent
79f3cb1225
commit
123a25c58c
1 changed files with 8 additions and 0 deletions
|
@ -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",
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue