Skip to content

Commit 5559a68

Browse files
authored
feat: Add prettier.config to clearUnnecessaryFiles.ts (#1051)
<!-- 👋 Hi, thanks for sending a PR to create-typescript-app! 💖. Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [X] Addresses an existing open issue: fixes #1019 - [X] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [X] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Added `.prettier.config.js`, `.prettier.config.mjs` and `.prettier.config.cjs` to `clearUnnecessaryFiles.ts` in order for those files to be removed.
1 parent b0f02d1 commit 5559a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/steps/clearUnnecessaryFiles.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const globPaths = [
44
...extensions(".babelrc", "cjs", "cts", "js", "json", "mjs"),
55
...extensions(".eslintrc", "js", "json", "yml"),
66
...extensions(".prettierrc", "json", "json5", "yaml", "yml"),
7+
...extensions("prettier.config", "js", "mjs", "cjs"),
78
...extensions("babel.config", "cjs", "cts", "js", "json", "mjs"),
89
...extensions("jest.config", "cjs", "js", "json", "mjs", "ts"),
910
"./src/**/*.js",

0 commit comments

Comments
 (0)