Skip to content

Commit f4f0233

Browse files
fix: remove asterisk from coverage templates (#763)
## PR Checklist - [x] Addresses an existing open issue: fixes #756 - [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 Keeps them in this repo because it needs them.
1 parent b5465cf commit f4f0233

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/steps/writing/creation/rootFiles.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export async function createRootFiles(options: Options) {
1212
".eslintignore": formatIgnoreFile(
1313
[
1414
"!.*",
15-
...(options.excludeTests ? [] : ["coverage*"]),
15+
...(options.excludeTests ? [] : ["coverage"]),
1616
"lib",
1717
"node_modules",
1818
"pnpm-lock.yaml",
1919
].filter(Boolean),
2020
),
2121
".eslintrc.cjs": await createESLintRC(options),
2222
".gitignore": formatIgnoreFile([
23-
...(options.excludeTests ? [] : ["coverage*/"]),
23+
...(options.excludeTests ? [] : ["coverage/"]),
2424
"lib/",
2525
"node_modules/",
2626
]),
@@ -48,7 +48,7 @@ export async function createRootFiles(options: Options) {
4848
}),
4949
".nvmrc": `18.17.1\n`,
5050
".prettierignore": formatIgnoreFile([
51-
...(options.excludeTests ? [] : ["coverage*/"]),
51+
...(options.excludeTests ? [] : ["coverage/"]),
5252
"lib/",
5353
"pnpm-lock.yaml",
5454
"",
@@ -110,7 +110,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
110110
ignorePaths: [
111111
".github",
112112
"CHANGELOG.md",
113-
...(options.excludeTests ? [] : ["coverage*"]),
113+
...(options.excludeTests ? [] : ["coverage"]),
114114
"lib",
115115
"node_modules",
116116
"pnpm-lock.yaml",

0 commit comments

Comments
 (0)