File tree 1 file changed +4
-4
lines changed
src/steps/writing/creation
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ export async function createRootFiles(options: Options) {
12
12
".eslintignore" : formatIgnoreFile (
13
13
[
14
14
"!.*" ,
15
- ...( options . excludeTests ? [ ] : [ "coverage* " ] ) ,
15
+ ...( options . excludeTests ? [ ] : [ "coverage" ] ) ,
16
16
"lib" ,
17
17
"node_modules" ,
18
18
"pnpm-lock.yaml" ,
19
19
] . filter ( Boolean ) ,
20
20
) ,
21
21
".eslintrc.cjs" : await createESLintRC ( options ) ,
22
22
".gitignore" : formatIgnoreFile ( [
23
- ...( options . excludeTests ? [ ] : [ "coverage* /" ] ) ,
23
+ ...( options . excludeTests ? [ ] : [ "coverage/" ] ) ,
24
24
"lib/" ,
25
25
"node_modules/" ,
26
26
] ) ,
@@ -48,7 +48,7 @@ export async function createRootFiles(options: Options) {
48
48
} ) ,
49
49
".nvmrc" : `18.17.1\n` ,
50
50
".prettierignore" : formatIgnoreFile ( [
51
- ...( options . excludeTests ? [ ] : [ "coverage* /" ] ) ,
51
+ ...( options . excludeTests ? [ ] : [ "coverage/" ] ) ,
52
52
"lib/" ,
53
53
"pnpm-lock.yaml" ,
54
54
"" ,
@@ -110,7 +110,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
110
110
ignorePaths : [
111
111
".github" ,
112
112
"CHANGELOG.md" ,
113
- ...( options . excludeTests ? [ ] : [ "coverage* " ] ) ,
113
+ ...( options . excludeTests ? [ ] : [ "coverage" ] ) ,
114
114
"lib" ,
115
115
"node_modules" ,
116
116
"pnpm-lock.yaml" ,
You can’t perform that action at this time.
0 commit comments